@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()
Creates a shallow clone of this object for all fields except the handler context.
|
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()
The 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)
The 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)
The type of package.
|
CreatePackageRequest |
withPackageType(String packageType)
The type of package.
|
addHandlerContext, 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, withSdkRequestTimeoutpublic 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)
The type of package.
packageType - The type of package.PackageTypepublic String getPackageType()
The type of package.
PackageTypepublic CreatePackageRequest withPackageType(String packageType)
The type of package.
packageType - The type of package.PackageTypepublic CreatePackageRequest withPackageType(PackageType packageType)
The type of package.
packageType - The type of package.PackageTypepublic 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 ObjectObject.toString()public CreatePackageRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()