Interface Repository.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Repository.Builder,Repository>,SdkBuilder<Repository.Builder,Repository>,SdkPojo
- Enclosing class:
- Repository
public static interface Repository.Builder extends SdkPojo, CopyableBuilder<Repository.Builder,Repository>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Repository.BuildercreatedAt(Instant createdAt)The date and time, in JavaScript date format, when the repository was created.default Repository.BuilderencryptionConfiguration(Consumer<EncryptionConfiguration.Builder> encryptionConfiguration)The encryption configuration for the repository.Repository.BuilderencryptionConfiguration(EncryptionConfiguration encryptionConfiguration)The encryption configuration for the repository.default Repository.BuilderimageScanningConfiguration(Consumer<ImageScanningConfiguration.Builder> imageScanningConfiguration)Sets the value of the ImageScanningConfiguration property for this object.Repository.BuilderimageScanningConfiguration(ImageScanningConfiguration imageScanningConfiguration)Sets the value of the ImageScanningConfiguration property for this object.Repository.BuilderimageTagMutability(String imageTagMutability)The tag mutability setting for the repository.Repository.BuilderimageTagMutability(ImageTagMutability imageTagMutability)The tag mutability setting for the repository.Repository.BuilderregistryId(String registryId)The Amazon Web Services account ID associated with the registry that contains the repository.Repository.BuilderrepositoryArn(String repositoryArn)The Amazon Resource Name (ARN) that identifies the repository.Repository.BuilderrepositoryName(String repositoryName)The name of the repository.Repository.BuilderrepositoryUri(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
repositoryArn
Repository.Builder repositoryArn(String repositoryArn)
The Amazon Resource Name (ARN) that identifies the repository. The ARN contains the
arn:aws:ecrnamespace, 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:ecrnamespace, 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
Repository.Builder registryId(String 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
Repository.Builder repositoryName(String 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
Repository.Builder repositoryUri(String repositoryUri)
The URI for the repository. You can use this URI for container image
pushandpulloperations.- Parameters:
repositoryUri- The URI for the repository. You can use this URI for container imagepushandpulloperations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
Repository.Builder createdAt(Instant 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
Repository.Builder imageTagMutability(String 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,ImageTagMutability
-
imageTagMutability
Repository.Builder imageTagMutability(ImageTagMutability 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,ImageTagMutability
-
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.Builderavoiding the need to create one manually viaImageScanningConfiguration.builder().When the
Consumercompletes,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:
imageScanningConfiguration(ImageScanningConfiguration)
-
encryptionConfiguration
Repository.Builder encryptionConfiguration(EncryptionConfiguration 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.Builderavoiding the need to create one manually viaEncryptionConfiguration.builder().When the
Consumercompletes,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:
encryptionConfiguration(EncryptionConfiguration)
-
-