@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 each repository to help categorize and organize your repositories.
|
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 each repository to help categorize and organize your repositories.
|
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 each repository to help categorize and organize your repositories.
|
CreateRepositoryRequest |
withTags(Tag... tags)
The metadata that you apply to each repository to help categorize and organize your repositories.
|
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
can be specified on its own (for example nginx-web-app
) or prepended with a namespace to group the
repository into a category (for example 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 can be specified on its own (for example nginx-web-app
) or prepended with a namespace to
group the repository into a category (for example 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
can be specified on its own (for example nginx-web-app
) or prepended with a namespace to group the
repository into a category (for example project-a/nginx-web-app
).
nginx-web-app
) or prepended with a
namespace to group the repository into a category (for example 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
can be specified on its own (for example nginx-web-app
) or prepended with a namespace to group the
repository into a category (for example 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 can be specified on its own (for example nginx-web-app
) or prepended with a namespace to
group the repository into a category (for example 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 each repository to help categorize and organize your repositories. Each tag consists of a key and an optional value. You define both of them. 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 each repository to help categorize and organize your repositories. Each tag consists of a key and an optional value. You define both of them. 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 each repository to help categorize and organize your repositories. Each tag
consists of a key and an optional value. You define both of them. 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 each repository to help categorize and organize your repositories. Each tag consists of a key and an optional value. You define both of them. 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 each repository to help categorize and organize your repositories. Each tag
consists of a key and an optional value. You define both of them. 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 each repository to help categorize and organize your repositories. Each tag consists of a key and an optional value. You define both of them. 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 each repository to help categorize and organize your repositories. Each tag
consists of a key and an optional value. You define both of them. 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()