@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateRepositoryRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateRepositoryRequest() |
Modifier and Type | Method and Description |
---|---|
CreateRepositoryRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
RepositoryCatalogDataInput |
getCatalogData()
The details about the repository that are publicly visible in the Amazon ECR Public Gallery.
|
String |
getRepositoryName()
The name to use for the repository.
|
List<Tag> |
getTags()
The metadata that you apply to the repository to help you categorize and organize them.
|
int |
hashCode() |
void |
setCatalogData(RepositoryCatalogDataInput catalogData)
The details about the repository that are publicly visible in the Amazon ECR Public Gallery.
|
void |
setRepositoryName(String repositoryName)
The name to use for the repository.
|
void |
setTags(Collection<Tag> tags)
The metadata that you apply to the repository to help you categorize and organize them.
|
String |
toString()
Returns a string representation of this object.
|
CreateRepositoryRequest |
withCatalogData(RepositoryCatalogDataInput catalogData)
The details about the repository that are publicly visible in the Amazon ECR Public Gallery.
|
CreateRepositoryRequest |
withRepositoryName(String repositoryName)
The name to use for the repository.
|
CreateRepositoryRequest |
withTags(Collection<Tag> tags)
The metadata that you apply to the repository to help you categorize and organize them.
|
CreateRepositoryRequest |
withTags(Tag... tags)
The metadata that you apply to the repository to help you categorize and organize them.
|
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 setRepositoryName(String repositoryName)
The name to use for the repository. This appears publicly in the Amazon ECR Public Gallery. The repository name
may be specified on its own (such as nginx-web-app
) or it can be prepended with a namespace to group
the repository into a category (such as project-a/nginx-web-app
).
repositoryName
- The name to use for the repository. This appears publicly in the Amazon ECR Public Gallery. The repository
name may be specified on its own (such as nginx-web-app
) or it can be prepended with a
namespace to group the repository into a category (such as project-a/nginx-web-app
).public String getRepositoryName()
The name to use for the repository. This appears publicly in the Amazon ECR Public Gallery. The repository name
may be specified on its own (such as nginx-web-app
) or it can be prepended with a namespace to group
the repository into a category (such as project-a/nginx-web-app
).
nginx-web-app
) or it can be prepended
with a namespace to group the repository into a category (such as project-a/nginx-web-app
).public CreateRepositoryRequest withRepositoryName(String repositoryName)
The name to use for the repository. This appears publicly in the Amazon ECR Public Gallery. The repository name
may be specified on its own (such as nginx-web-app
) or it can be prepended with a namespace to group
the repository into a category (such as project-a/nginx-web-app
).
repositoryName
- The name to use for the repository. This appears publicly in the Amazon ECR Public Gallery. The repository
name may be specified on its own (such as nginx-web-app
) or it can be prepended with a
namespace to group the repository into a category (such as project-a/nginx-web-app
).public void setCatalogData(RepositoryCatalogDataInput catalogData)
The details about the repository that are publicly visible in the Amazon ECR Public Gallery.
catalogData
- The details about the repository that are publicly visible in the Amazon ECR Public Gallery.public RepositoryCatalogDataInput getCatalogData()
The details about the repository that are publicly visible in the Amazon ECR Public Gallery.
public CreateRepositoryRequest withCatalogData(RepositoryCatalogDataInput catalogData)
The details about the repository that are publicly visible in the Amazon ECR Public Gallery.
catalogData
- The details about the repository that are publicly visible in the Amazon ECR Public Gallery.public List<Tag> getTags()
The metadata that you apply to the repository to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
public void setTags(Collection<Tag> tags)
The metadata that you apply to the repository to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
tags
- The metadata that you apply to the repository to help you categorize and organize them. Each tag consists
of a key and an optional value, both of which you define. Tag keys can have a maximum character length of
128 characters, and tag values can have a maximum length of 256 characters.public CreateRepositoryRequest withTags(Tag... tags)
The metadata that you apply to the repository to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- The metadata that you apply to the repository to help you categorize and organize them. Each tag consists
of a key and an optional value, both of which you define. Tag keys can have a maximum character length of
128 characters, and tag values can have a maximum length of 256 characters.public CreateRepositoryRequest withTags(Collection<Tag> tags)
The metadata that you apply to the repository to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
tags
- The metadata that you apply to the repository to help you categorize and organize them. Each tag consists
of a key and an optional value, both of which you define. Tag keys can have a maximum character length of
128 characters, and tag values can have a maximum length of 256 characters.public String toString()
toString
in class Object
Object.toString()
public CreateRepositoryRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()