@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreatePackageRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Container for request parameters to the CreatePackage
operation.
NOOP
Constructor and Description |
---|
CreatePackageRequest() |
Modifier and Type | Method and Description |
---|---|
CreatePackageRequest |
clone() |
boolean |
equals(Object obj) |
String |
getPackageDescription()
Description of the package.
|
String |
getPackageName()
Unique name for the package.
|
PackageSource |
getPackageSource()
The Amazon S3 location from which to import the package.
|
String |
getPackageType()
Type of package.
|
int |
hashCode() |
void |
setPackageDescription(String packageDescription)
Description of the package.
|
void |
setPackageName(String packageName)
Unique name for the package.
|
void |
setPackageSource(PackageSource packageSource)
The Amazon S3 location from which to import the package.
|
void |
setPackageType(String packageType)
Type of package.
|
String |
toString()
Returns a string representation of this object.
|
CreatePackageRequest |
withPackageDescription(String packageDescription)
Description of the package.
|
CreatePackageRequest |
withPackageName(String packageName)
Unique name for the package.
|
CreatePackageRequest |
withPackageSource(PackageSource packageSource)
The Amazon S3 location from which to import the package.
|
CreatePackageRequest |
withPackageType(PackageType packageType)
Type of package.
|
CreatePackageRequest |
withPackageType(String packageType)
Type of package.
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setPackageName(String packageName)
Unique name for the package.
packageName
- Unique name for the package.public String getPackageName()
Unique name for the package.
public CreatePackageRequest withPackageName(String packageName)
Unique name for the package.
packageName
- Unique name for the package.public void setPackageType(String packageType)
Type of package.
packageType
- Type of package.PackageType
public String getPackageType()
Type of package.
PackageType
public CreatePackageRequest withPackageType(String packageType)
Type of package.
packageType
- Type of package.PackageType
public CreatePackageRequest withPackageType(PackageType packageType)
Type of package.
packageType
- Type of package.PackageType
public void setPackageDescription(String packageDescription)
Description of the package.
packageDescription
- Description of the package.public String getPackageDescription()
Description of the package.
public CreatePackageRequest withPackageDescription(String packageDescription)
Description of the package.
packageDescription
- Description of the package.public void setPackageSource(PackageSource packageSource)
The Amazon S3 location from which to import the package.
packageSource
- The Amazon S3 location from which to import the package.public PackageSource getPackageSource()
The Amazon S3 location from which to import the package.
public CreatePackageRequest withPackageSource(PackageSource packageSource)
The Amazon S3 location from which to import the package.
packageSource
- The Amazon S3 location from which to import the package.public String toString()
toString
in class Object
Object.toString()
public CreatePackageRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2023. All rights reserved.