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 Details

    • repositoryArn

      Repository.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-namespace/repository-name.

      Parameters:
      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.
      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 push and pull operations.

      Parameters:
      repositoryUri - The URI for the repository. You can use this URI for container image push and pull operations.
      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

      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:
    • 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 the 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).

      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:
    • 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 the EncryptionConfiguration.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).

      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: