public static interface Repository.Builder extends SdkPojo, CopyableBuilder<Repository.Builder,Repository>
| Modifier and Type | Method and Description |
|---|---|
Repository.Builder |
createdAt(Instant createdAt)
The date and time, in JavaScript date format, when the repository was created.
|
default Repository.Builder |
encryptionConfiguration(Consumer<EncryptionConfiguration.Builder> encryptionConfiguration)
The encryption configuration for the repository.
|
Repository.Builder |
encryptionConfiguration(EncryptionConfiguration encryptionConfiguration)
The encryption configuration for the repository.
|
default Repository.Builder |
imageScanningConfiguration(Consumer<ImageScanningConfiguration.Builder> imageScanningConfiguration)
Sets the value of the ImageScanningConfiguration property for this object.
|
Repository.Builder |
imageScanningConfiguration(ImageScanningConfiguration imageScanningConfiguration)
Sets the value of the ImageScanningConfiguration property for this object.
|
Repository.Builder |
imageTagMutability(ImageTagMutability imageTagMutability)
The tag mutability setting for the repository.
|
Repository.Builder |
imageTagMutability(String imageTagMutability)
The tag mutability setting for the repository.
|
Repository.Builder |
registryId(String registryId)
The Amazon Web Services account ID associated with the registry that contains the repository.
|
Repository.Builder |
repositoryArn(String repositoryArn)
The Amazon Resource Name (ARN) that identifies the repository.
|
Repository.Builder |
repositoryName(String repositoryName)
The name of the repository.
|
Repository.Builder |
repositoryUri(String repositoryUri)
The URI for the repository.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildRepository.Builder repositoryArn(String repositoryArn)
The Amazon Resource Name (ARN) that identifies the repository. The ARN contains the arn:aws:ecr
namespace, followed by the region of the repository, Amazon Web Services account ID of the repository owner,
repository namespace, and repository name. For example,
arn:aws:ecr:region:012345678910:repository/test.
repositoryArn - The Amazon Resource Name (ARN) that identifies the repository. The ARN contains the
arn:aws:ecr namespace, followed by the region of the repository, Amazon Web Services
account ID of the repository owner, repository namespace, and repository name. For example,
arn:aws:ecr:region:012345678910:repository/test.Repository.Builder registryId(String registryId)
The Amazon Web Services account ID associated with the registry that contains the repository.
registryId - The Amazon Web Services account ID associated with the registry that contains the repository.Repository.Builder repositoryName(String repositoryName)
The name of the repository.
repositoryName - The name of the repository.Repository.Builder repositoryUri(String repositoryUri)
The URI for the repository. You can use this URI for container image push and pull
operations.
repositoryUri - The URI for the repository. You can use this URI for container image push and
pull operations.Repository.Builder createdAt(Instant createdAt)
The date and time, in JavaScript date format, when the repository was created.
createdAt - The date and time, in JavaScript date format, when the repository was created.Repository.Builder imageTagMutability(String imageTagMutability)
The tag mutability setting for the repository.
imageTagMutability - The tag mutability setting for the repository.ImageTagMutability,
ImageTagMutabilityRepository.Builder imageTagMutability(ImageTagMutability imageTagMutability)
The tag mutability setting for the repository.
imageTagMutability - The tag mutability setting for the repository.ImageTagMutability,
ImageTagMutabilityRepository.Builder imageScanningConfiguration(ImageScanningConfiguration imageScanningConfiguration)
imageScanningConfiguration - The new value for the ImageScanningConfiguration property for this object.default Repository.Builder imageScanningConfiguration(Consumer<ImageScanningConfiguration.Builder> imageScanningConfiguration)
ImageScanningConfiguration.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)Repository.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 Repository.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 method 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)Copyright © 2023. All rights reserved.