Interface AssociateExternalConnectionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CodeartifactRequest.Builder
,CopyableBuilder<AssociateExternalConnectionRequest.Builder,
,AssociateExternalConnectionRequest> SdkBuilder<AssociateExternalConnectionRequest.Builder,
,AssociateExternalConnectionRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
AssociateExternalConnectionRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the domain that contains the repository.domainOwner
(String domainOwner) The 12-digit account number of the Amazon Web Services account that owns the domain.externalConnection
(String externalConnection) The name of the external connection to add to the repository.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.repository
(String repository) The name of the repository to which the external connection is added.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.codeartifact.model.CodeartifactRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
domain
The name of the domain that contains the repository.
- Parameters:
domain
- The name of the domain that contains the repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainOwner
The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
- Parameters:
domainOwner
- The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
repository
The name of the repository to which the external connection is added.
- Parameters:
repository
- The name of the repository to which the external connection is added.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
externalConnection
The name of the external connection to add to the repository. The following values are supported:
-
public:npmjs
- for the npm public repository. -
public:nuget-org
- for the NuGet Gallery. -
public:pypi
- for the Python Package Index. -
public:maven-central
- for Maven Central. -
public:maven-googleandroid
- for the Google Android repository. -
public:maven-gradleplugins
- for the Gradle plugins repository. -
public:maven-commonsware
- for the CommonsWare Android repository. -
public:maven-clojars
- for the Clojars repository.
- Parameters:
externalConnection
- The name of the external connection to add to the repository. The following values are supported:-
public:npmjs
- for the npm public repository. -
public:nuget-org
- for the NuGet Gallery. -
public:pypi
- for the Python Package Index. -
public:maven-central
- for Maven Central. -
public:maven-googleandroid
- for the Google Android repository. -
public:maven-gradleplugins
- for the Gradle plugins repository. -
public:maven-commonsware
- for the CommonsWare Android repository. -
public:maven-clojars
- for the Clojars repository.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
overrideConfiguration
AssociateExternalConnectionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
AssociateExternalConnectionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-