Interface Repository.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<Repository.Builder,,- Repository> - SdkBuilder<Repository.Builder,,- Repository> - SdkPojo
- Enclosing class:
- Repository
- 
Method SummaryModifier and TypeMethodDescriptionThe 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.encryptionConfiguration(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.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.imageTagMutabilityExclusionFilters(Collection<ImageTagMutabilityExclusionFilter> imageTagMutabilityExclusionFilters) The image tag mutability exclusion filters associated with the repository.imageTagMutabilityExclusionFilters(Consumer<ImageTagMutabilityExclusionFilter.Builder>... imageTagMutabilityExclusionFilters) The image tag mutability exclusion filters associated with the repository.imageTagMutabilityExclusionFilters(ImageTagMutabilityExclusionFilter... imageTagMutabilityExclusionFilters) The image tag mutability exclusion filters associated with 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
repositoryArnThe 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 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
registryIdThe 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.
 
- 
repositoryNameThe 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.
 
- 
repositoryUriThe 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 image- pushand- pulloperations.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
createdAtThe 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.
 
- 
imageTagMutabilityThe 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:
 
- 
imageTagMutabilityThe 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:
 
- 
imageTagMutabilityExclusionFiltersRepository.Builder imageTagMutabilityExclusionFilters(Collection<ImageTagMutabilityExclusionFilter> imageTagMutabilityExclusionFilters) The image tag mutability exclusion filters associated with the repository. These filters specify which image tags can override the repository's default image tag mutability setting. - Parameters:
- imageTagMutabilityExclusionFilters- The image tag mutability exclusion filters associated with the repository. These filters specify which image tags can override the repository's default image tag mutability setting.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
imageTagMutabilityExclusionFiltersRepository.Builder imageTagMutabilityExclusionFilters(ImageTagMutabilityExclusionFilter... imageTagMutabilityExclusionFilters) The image tag mutability exclusion filters associated with the repository. These filters specify which image tags can override the repository's default image tag mutability setting. - Parameters:
- imageTagMutabilityExclusionFilters- The image tag mutability exclusion filters associated with the repository. These filters specify which image tags can override the repository's default image tag mutability setting.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
imageTagMutabilityExclusionFiltersRepository.Builder imageTagMutabilityExclusionFilters(Consumer<ImageTagMutabilityExclusionFilter.Builder>... imageTagMutabilityExclusionFilters) The image tag mutability exclusion filters associated with the repository. These filters specify which image tags can override the repository's default image tag mutability setting. This is a convenience method that creates an instance of theImageTagMutabilityExclusionFilter.Builderavoiding the need to create one manually viaImageTagMutabilityExclusionFilter.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toimageTagMutabilityExclusionFilters(List<ImageTagMutabilityExclusionFilter>).- Parameters:
- imageTagMutabilityExclusionFilters- a consumer that will call methods on- ImageTagMutabilityExclusionFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
imageScanningConfigurationRepository.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.
 
- 
imageScanningConfigurationdefault 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 on- ImageScanningConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
encryptionConfigurationThe 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.
 
- 
encryptionConfigurationdefault 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 on- EncryptionConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-