@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() |
boolean |
equals(Object obj) |
EncryptionConfiguration |
getEncryptionConfiguration()
The encryption configuration for the repository.
|
ImageScanningConfiguration |
getImageScanningConfiguration()
The image scanning configuration for the repository.
|
String |
getImageTagMutability()
The tag mutability setting for the repository.
|
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 |
setEncryptionConfiguration(EncryptionConfiguration encryptionConfiguration)
The encryption configuration for the repository.
|
void |
setImageScanningConfiguration(ImageScanningConfiguration imageScanningConfiguration)
The image scanning configuration for the repository.
|
void |
setImageTagMutability(String imageTagMutability)
The tag mutability setting for the repository.
|
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 |
withEncryptionConfiguration(EncryptionConfiguration encryptionConfiguration)
The encryption configuration for the repository.
|
CreateRepositoryRequest |
withImageScanningConfiguration(ImageScanningConfiguration imageScanningConfiguration)
The image scanning configuration for the repository.
|
CreateRepositoryRequest |
withImageTagMutability(ImageTagMutability imageTagMutability)
The tag mutability setting for the repository.
|
CreateRepositoryRequest |
withImageTagMutability(String imageTagMutability)
The tag mutability setting for the repository.
|
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, copyBaseTo, 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, withSdkRequestTimeoutpublic void setRepositoryName(String repositoryName)
The name to use for the repository. 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. 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. 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. 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. 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 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 void setImageTagMutability(String imageTagMutability)
The tag mutability setting for the repository. If this parameter is omitted, the default setting of
MUTABLE will be used which will allow image tags to be overwritten. If IMMUTABLE is
specified, all image tags within the repository will be immutable which will prevent them from being overwritten.
imageTagMutability - The tag mutability setting for the repository. If this parameter is omitted, the default setting of
MUTABLE will be used which will allow image tags to be overwritten. If IMMUTABLE
is specified, all image tags within the repository will be immutable which will prevent them from being
overwritten.ImageTagMutabilitypublic String getImageTagMutability()
The tag mutability setting for the repository. If this parameter is omitted, the default setting of
MUTABLE will be used which will allow image tags to be overwritten. If IMMUTABLE is
specified, all image tags within the repository will be immutable which will prevent them from being overwritten.
MUTABLE will be used which will allow image tags to be overwritten. If
IMMUTABLE is specified, all image tags within the repository will be immutable which will
prevent them from being overwritten.ImageTagMutabilitypublic CreateRepositoryRequest withImageTagMutability(String imageTagMutability)
The tag mutability setting for the repository. If this parameter is omitted, the default setting of
MUTABLE will be used which will allow image tags to be overwritten. If IMMUTABLE is
specified, all image tags within the repository will be immutable which will prevent them from being overwritten.
imageTagMutability - The tag mutability setting for the repository. If this parameter is omitted, the default setting of
MUTABLE will be used which will allow image tags to be overwritten. If IMMUTABLE
is specified, all image tags within the repository will be immutable which will prevent them from being
overwritten.ImageTagMutabilitypublic CreateRepositoryRequest withImageTagMutability(ImageTagMutability imageTagMutability)
The tag mutability setting for the repository. If this parameter is omitted, the default setting of
MUTABLE will be used which will allow image tags to be overwritten. If IMMUTABLE is
specified, all image tags within the repository will be immutable which will prevent them from being overwritten.
imageTagMutability - The tag mutability setting for the repository. If this parameter is omitted, the default setting of
MUTABLE will be used which will allow image tags to be overwritten. If IMMUTABLE
is specified, all image tags within the repository will be immutable which will prevent them from being
overwritten.ImageTagMutabilitypublic void setImageScanningConfiguration(ImageScanningConfiguration imageScanningConfiguration)
The image scanning configuration for the repository. This determines whether images are scanned for known vulnerabilities after being pushed to the repository.
imageScanningConfiguration - The image scanning configuration for the repository. This determines whether images are scanned for known
vulnerabilities after being pushed to the repository.public ImageScanningConfiguration getImageScanningConfiguration()
The image scanning configuration for the repository. This determines whether images are scanned for known vulnerabilities after being pushed to the repository.
public CreateRepositoryRequest withImageScanningConfiguration(ImageScanningConfiguration imageScanningConfiguration)
The image scanning configuration for the repository. This determines whether images are scanned for known vulnerabilities after being pushed to the repository.
imageScanningConfiguration - The image scanning configuration for the repository. This determines whether images are scanned for known
vulnerabilities after being pushed to the repository.public void setEncryptionConfiguration(EncryptionConfiguration encryptionConfiguration)
The encryption configuration for the repository. This determines how the contents of your repository are encrypted at rest.
encryptionConfiguration - The encryption configuration for the repository. This determines how the contents of your repository are
encrypted at rest.public EncryptionConfiguration getEncryptionConfiguration()
The encryption configuration for the repository. This determines how the contents of your repository are encrypted at rest.
public CreateRepositoryRequest withEncryptionConfiguration(EncryptionConfiguration encryptionConfiguration)
The encryption configuration for the repository. This determines how the contents of your repository are encrypted at rest.
encryptionConfiguration - The encryption configuration for the repository. This determines how the contents of your repository are
encrypted at rest.public String toString()
toString in class ObjectObject.toString()public CreateRepositoryRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2021. All rights reserved.