Interface RepositoryDescription.Builder

    • Method Detail

      • name

        RepositoryDescription.Builder name​(String name)

        The name of the repository.

        Parameters:
        name - The name of the repository.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • administratorAccount

        RepositoryDescription.Builder administratorAccount​(String administratorAccount)

        The 12-digit account number of the Amazon Web Services account that manages the repository.

        Parameters:
        administratorAccount - The 12-digit account number of the Amazon Web Services account that manages the repository.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • domainName

        RepositoryDescription.Builder domainName​(String domainName)

        The name of the domain that contains the repository.

        Parameters:
        domainName - 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

        RepositoryDescription.Builder domainOwner​(String domainOwner)

        The 12-digit account number of the Amazon Web Services account that owns the domain that contains the repository. It does not include dashes or spaces.

        Parameters:
        domainOwner - The 12-digit account number of the Amazon Web Services account that owns the domain that contains the repository. It does not include dashes or spaces.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • arn

        RepositoryDescription.Builder arn​(String arn)

        The Amazon Resource Name (ARN) of the repository.

        Parameters:
        arn - The Amazon Resource Name (ARN) of the repository.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        RepositoryDescription.Builder description​(String description)

        A text description of the repository.

        Parameters:
        description - A text description of the repository.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • upstreams

        RepositoryDescription.Builder upstreams​(Collection<UpstreamRepositoryInfo> upstreams)

        A list of upstream repositories to associate with the repository. The order of the upstream repositories in the list determines their priority order when CodeArtifact looks for a requested package version. For more information, see Working with upstream repositories.

        Parameters:
        upstreams - A list of upstream repositories to associate with the repository. The order of the upstream repositories in the list determines their priority order when CodeArtifact looks for a requested package version. For more information, see Working with upstream repositories.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • upstreams

        RepositoryDescription.Builder upstreams​(UpstreamRepositoryInfo... upstreams)

        A list of upstream repositories to associate with the repository. The order of the upstream repositories in the list determines their priority order when CodeArtifact looks for a requested package version. For more information, see Working with upstream repositories.

        Parameters:
        upstreams - A list of upstream repositories to associate with the repository. The order of the upstream repositories in the list determines their priority order when CodeArtifact looks for a requested package version. For more information, see Working with upstream repositories.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • externalConnections

        RepositoryDescription.Builder externalConnections​(Collection<RepositoryExternalConnectionInfo> externalConnections)

        An array of external connections associated with the repository.

        Parameters:
        externalConnections - An array of external connections associated with the repository.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • externalConnections

        RepositoryDescription.Builder externalConnections​(RepositoryExternalConnectionInfo... externalConnections)

        An array of external connections associated with the repository.

        Parameters:
        externalConnections - An array of external connections associated with the repository.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createdTime

        RepositoryDescription.Builder createdTime​(Instant createdTime)

        A timestamp that represents the date and time the repository was created.

        Parameters:
        createdTime - A timestamp that represents the date and time the repository was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.