Interface Repository.Builder

    • Method Detail

      • 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, 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.
      • 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.