public static interface CreateRepositoryRequest.Builder extends EcrRequest.Builder, SdkPojo, CopyableBuilder<CreateRepositoryRequest.Builder,CreateRepositoryRequest>
| Modifier and Type | Method and Description |
|---|---|
default CreateRepositoryRequest.Builder |
encryptionConfiguration(Consumer<EncryptionConfiguration.Builder> encryptionConfiguration)
The encryption configuration for the repository.
|
CreateRepositoryRequest.Builder |
encryptionConfiguration(EncryptionConfiguration encryptionConfiguration)
The encryption configuration for the repository.
|
default CreateRepositoryRequest.Builder |
imageScanningConfiguration(Consumer<ImageScanningConfiguration.Builder> imageScanningConfiguration)
The image scanning configuration for the repository.
|
CreateRepositoryRequest.Builder |
imageScanningConfiguration(ImageScanningConfiguration imageScanningConfiguration)
The image scanning configuration for the repository.
|
CreateRepositoryRequest.Builder |
imageTagMutability(ImageTagMutability imageTagMutability)
The tag mutability setting for the repository.
|
CreateRepositoryRequest.Builder |
imageTagMutability(String imageTagMutability)
The tag mutability setting for the repository.
|
CreateRepositoryRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateRepositoryRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateRepositoryRequest.Builder |
repositoryName(String repositoryName)
The name to use for the repository.
|
CreateRepositoryRequest.Builder |
tags(Collection<Tag> tags)
The metadata that you apply to the repository to help you categorize and organize them.
|
CreateRepositoryRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
The metadata that you apply to the repository to help you categorize and organize them.
|
CreateRepositoryRequest.Builder |
tags(Tag... tags)
The metadata that you apply to the repository to help you categorize and organize them.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateRepositoryRequest.Builder repositoryName(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).CreateRepositoryRequest.Builder tags(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.CreateRepositoryRequest.Builder tags(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.CreateRepositoryRequest.Builder tags(Consumer<Tag.Builder>... 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.
This is a convenience that creates an instance of theList.Builder avoiding the need to create
one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its result
is passed to #tags(List) .tags - a consumer that will call methods on List.Builder #tags(List) CreateRepositoryRequest.Builder imageTagMutability(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.ImageTagMutability,
ImageTagMutabilityCreateRepositoryRequest.Builder imageTagMutability(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.ImageTagMutability,
ImageTagMutabilityCreateRepositoryRequest.Builder imageScanningConfiguration(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.default CreateRepositoryRequest.Builder imageScanningConfiguration(Consumer<ImageScanningConfiguration.Builder> imageScanningConfiguration)
The image scanning configuration for the repository. This determines whether images are scanned for known vulnerabilities after being pushed to the repository.
This is a convenience that creates an instance of theImageScanningConfiguration.Builder avoiding the
need to create one manually via ImageScanningConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to imageScanningConfiguration(ImageScanningConfiguration).imageScanningConfiguration - a consumer that will call methods on ImageScanningConfiguration.BuilderimageScanningConfiguration(ImageScanningConfiguration)CreateRepositoryRequest.Builder encryptionConfiguration(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.default CreateRepositoryRequest.Builder encryptionConfiguration(Consumer<EncryptionConfiguration.Builder> encryptionConfiguration)
The encryption configuration for the repository. This determines how the contents of your repository are encrypted at rest.
This is a convenience that creates an instance of theEncryptionConfiguration.Builder avoiding the
need to create one manually via EncryptionConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to encryptionConfiguration(EncryptionConfiguration).encryptionConfiguration - a consumer that will call methods on EncryptionConfiguration.BuilderencryptionConfiguration(EncryptionConfiguration)CreateRepositoryRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateRepositoryRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2021. All rights reserved.