Interface Repository.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Repository.Builder,
,Repository> SdkBuilder<Repository.Builder,
,Repository> SdkPojo
- Enclosing class:
Repository
-
Method Summary
Modifier and TypeMethodDescriptionThe 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.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.imageScanningConfiguration
(ImageScanningConfiguration imageScanningConfiguration) Sets the value of the ImageScanningConfiguration property for this object.imageTagMutability
(String imageTagMutability) The tag mutability setting for the repository.imageTagMutability
(ImageTagMutability imageTagMutability) The tag mutability setting for the repository.registryId
(String registryId) The Amazon Web Services account ID associated with the registry that contains the repository.repositoryArn
(String repositoryArn) The Amazon Resource Name (ARN) that identifies the repository.repositoryName
(String repositoryName) The name of the repository.repositoryUri
(String repositoryUri) The URI for the repository.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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-namespace/repository-name
.- Parameters:
repositoryArn
- The Amazon Resource Name (ARN) that identifies the repository. The ARN contains thearn: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-namespace/repository-name
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
registryId
The Amazon Web Services account ID associated with the registry that contains the repository.
- Parameters:
registryId
- The Amazon Web Services account ID associated with the registry that contains the repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
repositoryName
The name of the repository.
- Parameters:
repositoryName
- The name of the repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
repositoryUri
The URI for the repository. You can use this URI for container image
push
andpull
operations.- Parameters:
repositoryUri
- The URI for the repository. You can use this URI for container imagepush
andpull
operations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The date and time, in JavaScript date format, when the repository was created.
- Parameters:
createdAt
- The date and time, in JavaScript date format, when the repository was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
imageTagMutability
The tag mutability setting for the repository.
- Parameters:
imageTagMutability
- The tag mutability setting for the repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
imageTagMutability
The tag mutability setting for the repository.
- Parameters:
imageTagMutability
- The tag mutability setting for the repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
imageScanningConfiguration
Repository.Builder imageScanningConfiguration(ImageScanningConfiguration imageScanningConfiguration) Sets the value of the ImageScanningConfiguration property for this object.- Parameters:
imageScanningConfiguration
- The new value for the ImageScanningConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
imageScanningConfiguration
default Repository.Builder imageScanningConfiguration(Consumer<ImageScanningConfiguration.Builder> imageScanningConfiguration) Sets the value of the ImageScanningConfiguration property for this object. This is a convenience method that creates an instance of theImageScanningConfiguration.Builder
avoiding the need to create one manually viaImageScanningConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toimageScanningConfiguration(ImageScanningConfiguration)
.- Parameters:
imageScanningConfiguration
- a consumer that will call methods onImageScanningConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
encryptionConfiguration
The encryption configuration for the repository. This determines how the contents of your repository are encrypted at rest.
- Parameters:
encryptionConfiguration
- The encryption configuration for the repository. This determines how the contents of your repository are encrypted at rest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionConfiguration
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 viaEncryptionConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toencryptionConfiguration(EncryptionConfiguration)
.- Parameters:
encryptionConfiguration
- a consumer that will call methods onEncryptionConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-