@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 identifier 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 identifier 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 identifier 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, 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 identifier for the package.
packageName
- Unique identifier for the package.public String getPackageName()
Unique identifier for the package.
public CreatePackageRequest withPackageName(String packageName)
Unique identifier for the package.
packageName
- Unique identifier for the package.public void setPackageType(String packageType)
Type of package. Currently supports only TXT-DICTIONARY.
packageType
- Type of package. Currently supports only TXT-DICTIONARY.PackageType
public String getPackageType()
Type of package. Currently supports only TXT-DICTIONARY.
PackageType
public CreatePackageRequest withPackageType(String packageType)
Type of package. Currently supports only TXT-DICTIONARY.
packageType
- Type of package. Currently supports only TXT-DICTIONARY.PackageType
public CreatePackageRequest withPackageType(PackageType packageType)
Type of package. Currently supports only TXT-DICTIONARY.
packageType
- Type of package. Currently supports only TXT-DICTIONARY.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()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()