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 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

      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

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.