Interface AssociateExternalConnectionRequest.Builder

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