Interface PremiumRepository.Builder

  • Method Details

    • repositoryArn

      PremiumRepository.Builder repositoryArn(String repositoryArn)

      The ARN for the premium repository. The ARN has the format arn:aws:ecr-public::012345678910:premium-repository/repository-name.

      Parameters:
      repositoryArn - The ARN for the premium repository. The ARN has the format arn:aws:ecr-public::012345678910:premium-repository/repository-name.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • registryId

      PremiumRepository.Builder registryId(String registryId)

      The Amazon Web Services account ID that's associated with the public registry that contains the premium repository.

      Parameters:
      registryId - The Amazon Web Services account ID that's associated with the public registry that contains the premium repository.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • repositoryName

      PremiumRepository.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.
    • repositoryUri

      PremiumRepository.Builder repositoryUri(String repositoryUri)

      The URI of the premium repository. You can use this URI for image push and pull operations.

      Parameters:
      repositoryUri - The URI of the premium repository. You can use this URI for image push and pull operations.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      PremiumRepository.Builder createdAt(Instant createdAt)

      The date and time, in JavaScript date format, when the premium repository was created.

      Parameters:
      createdAt - The date and time, in JavaScript date format, when the premium repository was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • marketplaceProducts

      PremiumRepository.Builder marketplaceProducts(Collection<String> marketplaceProducts)

      The Amazon Web Services Marketplace product IDs for the premium repository.

      Parameters:
      marketplaceProducts - The Amazon Web Services Marketplace product IDs for the premium repository.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • marketplaceProducts

      PremiumRepository.Builder marketplaceProducts(String... marketplaceProducts)

      The Amazon Web Services Marketplace product IDs for the premium repository.

      Parameters:
      marketplaceProducts - The Amazon Web Services Marketplace product IDs for the premium repository.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • associatedRepositories

      PremiumRepository.Builder associatedRepositories(Collection<AssociatedRepository> associatedRepositories)

      The repositories that are associated with the premium repository.

      Parameters:
      associatedRepositories - The repositories that are associated with the premium repository.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • associatedRepositories

      PremiumRepository.Builder associatedRepositories(AssociatedRepository... associatedRepositories)

      The repositories that are associated with the premium repository.

      Parameters:
      associatedRepositories - The repositories that are associated with the premium repository.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • associatedRepositories

      PremiumRepository.Builder associatedRepositories(Consumer<AssociatedRepository.Builder>... associatedRepositories)

      The repositories that are associated with the premium repository.

      This is a convenience method that creates an instance of the AssociatedRepository.Builder avoiding the need to create one manually via AssociatedRepository.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to associatedRepositories(List<AssociatedRepository>).

      Parameters:
      associatedRepositories - a consumer that will call methods on AssociatedRepository.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • state

      The state of the premium repository. A premium repository in the DRAFT state is only accessible to you. A premium repository in the AVAILABLE state is listed in the Amazon ECR Public Gallery when at least one of its Amazon Web Services Marketplace products is public. A premium repository in the HIDDEN state isn't listed in the Amazon ECR Public Gallery, but buyers with an active entitlement can still pull from it.

      Parameters:
      state - The state of the premium repository. A premium repository in the DRAFT state is only accessible to you. A premium repository in the AVAILABLE state is listed in the Amazon ECR Public Gallery when at least one of its Amazon Web Services Marketplace products is public. A premium repository in the HIDDEN state isn't listed in the Amazon ECR Public Gallery, but buyers with an active entitlement 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. A premium repository in the DRAFT state is only accessible to you. A premium repository in the AVAILABLE state is listed in the Amazon ECR Public Gallery when at least one of its Amazon Web Services Marketplace products is public. A premium repository in the HIDDEN state isn't listed in the Amazon ECR Public Gallery, but buyers with an active entitlement can still pull from it.

      Parameters:
      state - The state of the premium repository. A premium repository in the DRAFT state is only accessible to you. A premium repository in the AVAILABLE state is listed in the Amazon ECR Public Gallery when at least one of its Amazon Web Services Marketplace products is public. A premium repository in the HIDDEN state isn't listed in the Amazon ECR Public Gallery, but buyers with an active entitlement can still pull from it.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: