Interface AssociateRepositoriesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<AssociateRepositoriesRequest.Builder,,AssociateRepositoriesRequest> EcrPublicRequest.Builder,SdkBuilder<AssociateRepositoriesRequest.Builder,,AssociateRepositoriesRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
AssociateRepositoriesRequest
-
Method Summary
Modifier and TypeMethodDescriptionassociatedRepositoryName(String associatedRepositoryName) The name of the repository to associate with the source repository.associatedRepositoryType(String associatedRepositoryType) The type of the repository to associate with the source repository.associatedRepositoryType(RepositoryType associatedRepositoryType) The type of the repository to associate with the source repository.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.registryId(String registryId) The Amazon Web Services account ID that's associated with the public registry that contains the repositories to associate.repositoryName(String repositoryName) The name of the source repository.repositoryType(String repositoryType) The type of the source repository.repositoryType(RepositoryType repositoryType) The type of the source repository.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ecrpublic.model.EcrPublicRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
registryId
The Amazon Web Services account ID that's associated with the public registry that contains the repositories to associate. If you do not specify a registry, the default public registry is assumed. You can specify only your own account ID. Cross-account access through a repository policy isn't supported for this operation.
- Parameters:
registryId- The Amazon Web Services account ID that's associated with the public registry that contains the repositories to associate. If you do not specify a registry, the default public registry is assumed. You can specify only your own account ID. Cross-account access through a repository policy isn't supported for this operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
repositoryName
The name of the source repository.
- Parameters:
repositoryName- The name of the source repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
repositoryType
The type of the source repository. Valid values:
-
FREE: A free repository. -
PREMIUM: A premium repository that holds paid content.
- Parameters:
repositoryType- The type of the source repository. Valid values:-
FREE: A free repository. -
PREMIUM: A premium repository that holds paid content.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
repositoryType
The type of the source repository. Valid values:
-
FREE: A free repository. -
PREMIUM: A premium repository that holds paid content.
- Parameters:
repositoryType- The type of the source repository. Valid values:-
FREE: A free repository. -
PREMIUM: A premium repository that holds paid content.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
associatedRepositoryName
The name of the repository to associate with the source repository.
- Parameters:
associatedRepositoryName- The name of the repository to associate with the source repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedRepositoryType
The type of the repository to associate with the source repository. This must be different from the type of the source repository. Valid values:
-
FREE: A free repository. -
PREMIUM: A premium repository that holds paid content.
- Parameters:
associatedRepositoryType- The type of the repository to associate with the source repository. This must be different from the type of the source repository. Valid values:-
FREE: A free repository. -
PREMIUM: A premium repository that holds paid content.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
associatedRepositoryType
AssociateRepositoriesRequest.Builder associatedRepositoryType(RepositoryType associatedRepositoryType) The type of the repository to associate with the source repository. This must be different from the type of the source repository. Valid values:
-
FREE: A free repository. -
PREMIUM: A premium repository that holds paid content.
- Parameters:
associatedRepositoryType- The type of the repository to associate with the source repository. This must be different from the type of the source repository. Valid values:-
FREE: A free repository. -
PREMIUM: A premium repository that holds paid content.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
overrideConfiguration
AssociateRepositoriesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
AssociateRepositoriesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-