Interface PremiumRepository.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PremiumRepository.Builder,,PremiumRepository> SdkBuilder<PremiumRepository.Builder,,PremiumRepository> SdkPojo
- Enclosing class:
PremiumRepository
-
Method Summary
Modifier and TypeMethodDescriptionassociatedRepositories(Collection<AssociatedRepository> associatedRepositories) The repositories that are associated with the premium repository.associatedRepositories(Consumer<AssociatedRepository.Builder>... associatedRepositories) The repositories that are associated with the premium repository.associatedRepositories(AssociatedRepository... associatedRepositories) The repositories that are associated with the premium repository.The date and time, in JavaScript date format, when the premium repository was created.marketplaceProducts(String... marketplaceProducts) The Amazon Web Services Marketplace product IDs for the premium repository.marketplaceProducts(Collection<String> marketplaceProducts) The Amazon Web Services Marketplace product IDs for the premium repository.registryId(String registryId) The Amazon Web Services account ID that's associated with the public registry that contains the premium repository.repositoryArn(String repositoryArn) The ARN for the premium repository.repositoryName(String repositoryName) The name of the premium repository.repositoryUri(String repositoryUri) The URI of the premium repository.The state of the premium repository.state(RepositoryState state) The state of the premium repository.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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 formatarn:aws:ecr-public::012345678910:premium-repository/repository-name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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
The URI of the premium repository. You can use this URI for image
pushandpulloperations.- Parameters:
repositoryUri- The URI of the premium repository. You can use this URI for imagepushandpulloperations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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
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
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 theAssociatedRepository.Builderavoiding the need to create one manually viaAssociatedRepository.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toassociatedRepositories(List<AssociatedRepository>).- Parameters:
associatedRepositories- a consumer that will call methods onAssociatedRepository.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
DRAFTstate is only accessible to you. A premium repository in theAVAILABLEstate 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 theHIDDENstate 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 theDRAFTstate is only accessible to you. A premium repository in theAVAILABLEstate 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 theHIDDENstate 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
DRAFTstate is only accessible to you. A premium repository in theAVAILABLEstate 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 theHIDDENstate 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 theDRAFTstate is only accessible to you. A premium repository in theAVAILABLEstate 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 theHIDDENstate 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:
-