@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreatePackageRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreatePackageRequest() |
Modifier and Type | Method and Description |
---|---|
CreatePackageRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreatePackageRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreatePackageRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getPackageName()
A name for the package.
|
Map<String,String> |
getTags()
Tags for the package.
|
int |
hashCode() |
void |
setPackageName(String packageName)
A name for the package.
|
void |
setTags(Map<String,String> tags)
Tags for the package.
|
String |
toString()
Returns a string representation of this object.
|
CreatePackageRequest |
withPackageName(String packageName)
A name for the package.
|
CreatePackageRequest |
withTags(Map<String,String> tags)
Tags for the 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)
A name for the package.
packageName
- A name for the package.public String getPackageName()
A name for the package.
public CreatePackageRequest withPackageName(String packageName)
A name for the package.
packageName
- A name for the package.public void setTags(Map<String,String> tags)
Tags for the package.
tags
- Tags for the package.public CreatePackageRequest withTags(Map<String,String> tags)
Tags for the package.
tags
- Tags for the package.public CreatePackageRequest addTagsEntry(String key, String value)
public CreatePackageRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreatePackageRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()