@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateRegistryRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateRegistryRequest() |
Modifier and Type | Method and Description |
---|---|
CreateRegistryRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateRegistryRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateRegistryRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDescription()
A description of the registry.
|
String |
getRegistryName()
Name of the registry to be created of max length of 255, and may only contain letters, numbers, hyphen,
underscore, dollar sign, or hash mark.
|
Map<String,String> |
getTags()
Amazon Web Services tags that contain a key value pair and may be searched by console, command line, or API.
|
int |
hashCode() |
void |
setDescription(String description)
A description of the registry.
|
void |
setRegistryName(String registryName)
Name of the registry to be created of max length of 255, and may only contain letters, numbers, hyphen,
underscore, dollar sign, or hash mark.
|
void |
setTags(Map<String,String> tags)
Amazon Web Services tags that contain a key value pair and may be searched by console, command line, or API.
|
String |
toString()
Returns a string representation of this object.
|
CreateRegistryRequest |
withDescription(String description)
A description of the registry.
|
CreateRegistryRequest |
withRegistryName(String registryName)
Name of the registry to be created of max length of 255, and may only contain letters, numbers, hyphen,
underscore, dollar sign, or hash mark.
|
CreateRegistryRequest |
withTags(Map<String,String> tags)
Amazon Web Services tags that contain a key value pair and may be searched by console, command line, or API.
|
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 setRegistryName(String registryName)
Name of the registry to be created of max length of 255, and may only contain letters, numbers, hyphen, underscore, dollar sign, or hash mark. No whitespace.
registryName
- Name of the registry to be created of max length of 255, and may only contain letters, numbers, hyphen,
underscore, dollar sign, or hash mark. No whitespace.public String getRegistryName()
Name of the registry to be created of max length of 255, and may only contain letters, numbers, hyphen, underscore, dollar sign, or hash mark. No whitespace.
public CreateRegistryRequest withRegistryName(String registryName)
Name of the registry to be created of max length of 255, and may only contain letters, numbers, hyphen, underscore, dollar sign, or hash mark. No whitespace.
registryName
- Name of the registry to be created of max length of 255, and may only contain letters, numbers, hyphen,
underscore, dollar sign, or hash mark. No whitespace.public void setDescription(String description)
A description of the registry. If description is not provided, there will not be any default value for this.
description
- A description of the registry. If description is not provided, there will not be any default value for
this.public String getDescription()
A description of the registry. If description is not provided, there will not be any default value for this.
public CreateRegistryRequest withDescription(String description)
A description of the registry. If description is not provided, there will not be any default value for this.
description
- A description of the registry. If description is not provided, there will not be any default value for
this.public Map<String,String> getTags()
Amazon Web Services tags that contain a key value pair and may be searched by console, command line, or API.
public void setTags(Map<String,String> tags)
Amazon Web Services tags that contain a key value pair and may be searched by console, command line, or API.
tags
- Amazon Web Services tags that contain a key value pair and may be searched by console, command line, or
API.public CreateRegistryRequest withTags(Map<String,String> tags)
Amazon Web Services tags that contain a key value pair and may be searched by console, command line, or API.
tags
- Amazon Web Services tags that contain a key value pair and may be searched by console, command line, or
API.public CreateRegistryRequest addTagsEntry(String key, String value)
public CreateRegistryRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateRegistryRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()