Interface AssociateExternalConnectionRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CodeartifactRequest.Builder,CopyableBuilder<AssociateExternalConnectionRequest.Builder,AssociateExternalConnectionRequest>,SdkBuilder<AssociateExternalConnectionRequest.Builder,AssociateExternalConnectionRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- AssociateExternalConnectionRequest
public static interface AssociateExternalConnectionRequest.Builder extends CodeartifactRequest.Builder, SdkPojo, CopyableBuilder<AssociateExternalConnectionRequest.Builder,AssociateExternalConnectionRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AssociateExternalConnectionRequest.Builderdomain(String domain)The name of the domain that contains the repository.AssociateExternalConnectionRequest.BuilderdomainOwner(String domainOwner)The 12-digit account number of the Amazon Web Services account that owns the domain.AssociateExternalConnectionRequest.BuilderexternalConnection(String externalConnection)The name of the external connection to add to the repository.AssociateExternalConnectionRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)AssociateExternalConnectionRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)AssociateExternalConnectionRequest.Builderrepository(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 Detail
-
domain
AssociateExternalConnectionRequest.Builder domain(String 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
AssociateExternalConnectionRequest.Builder domainOwner(String 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
AssociateExternalConnectionRequest.Builder repository(String 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
AssociateExternalConnectionRequest.Builder externalConnection(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
AssociateExternalConnectionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-