Interface EntitledRepository.Builder

  • Method Details

    • registryAlias

      EntitledRepository.Builder registryAlias(String registryAlias)

      The registry alias of the publisher that owns the premium repository.

      Parameters:
      registryAlias - The registry alias of the publisher that owns the premium repository.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • repositoryName

      EntitledRepository.Builder repositoryName(String repositoryName)

      The name of the premium repository.

      Parameters:
      repositoryName - The name of the premium repository.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • repositoryArn

      EntitledRepository.Builder repositoryArn(String repositoryArn)

      The ARN of the premium repository. This ARN doesn't contain an account ID. It has the format arn:aws:ecr-public:::entitled-repository/registry-alias/repository-name.

      Parameters:
      repositoryArn - The ARN of the premium repository. This ARN doesn't contain an account ID. It has the format arn:aws:ecr-public:::entitled-repository/registry-alias/repository-name.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • repositoryUri

      EntitledRepository.Builder repositoryUri(String repositoryUri)

      The URI of the premium repository. Use this URI to pull images from the repository.

      Parameters:
      repositoryUri - The URI of the premium repository. Use this URI to pull images from the repository.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • state

      The state of the premium repository. Valid values:

      • AVAILABLE: The repository is shown in the Amazon ECR Public Gallery, and you can pull from it.

      • HIDDEN: The repository isn't shown in the Amazon ECR Public Gallery, but because you have an active entitlement, you can still pull from it.

      Parameters:
      state - The state of the premium repository. Valid values:

      • AVAILABLE: The repository is shown in the Amazon ECR Public Gallery, and you can pull from it.

      • HIDDEN: The repository isn't shown in the Amazon ECR Public Gallery, but because you have an active entitlement, you can still pull from it.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • state

      The state of the premium repository. Valid values:

      • AVAILABLE: The repository is shown in the Amazon ECR Public Gallery, and you can pull from it.

      • HIDDEN: The repository isn't shown in the Amazon ECR Public Gallery, but because you have an active entitlement, you can still pull from it.

      Parameters:
      state - The state of the premium repository. Valid values:

      • AVAILABLE: The repository is shown in the Amazon ECR Public Gallery, and you can pull from it.

      • HIDDEN: The repository isn't shown in the Amazon ECR Public Gallery, but because you have an active entitlement, you can still pull from it.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • entitledViaProductId

      EntitledRepository.Builder entitledViaProductId(String entitledViaProductId)

      The ID of the Amazon Web Services Marketplace product that gives you access to the premium repository.

      Parameters:
      entitledViaProductId - The ID of the Amazon Web Services Marketplace product that gives you access to the premium repository.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • registryDisplayName

      EntitledRepository.Builder registryDisplayName(String registryDisplayName)

      The display name of the publisher's registry. This value can be empty.

      Parameters:
      registryDisplayName - The display name of the publisher's registry. This value can be empty.
      Returns:
      Returns a reference to this object so that method calls can be chained together.