Interface AssociateRepositoryResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CodeGuruReviewerResponse.Builder, CopyableBuilder<AssociateRepositoryResponse.Builder,AssociateRepositoryResponse>, SdkBuilder<AssociateRepositoryResponse.Builder,AssociateRepositoryResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
AssociateRepositoryResponse

  • Method Details

    • repositoryAssociation

      AssociateRepositoryResponse.Builder repositoryAssociation(RepositoryAssociation repositoryAssociation)

      Information about the repository association.

      Parameters:
      repositoryAssociation - Information about the repository association.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • repositoryAssociation

      default AssociateRepositoryResponse.Builder repositoryAssociation(Consumer<RepositoryAssociation.Builder> repositoryAssociation)

      Information about the repository association.

      This is a convenience method that creates an instance of the RepositoryAssociation.Builder avoiding the need to create one manually via RepositoryAssociation.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to repositoryAssociation(RepositoryAssociation).

      Parameters:
      repositoryAssociation - a consumer that will call methods on RepositoryAssociation.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • tags

      An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts:

      • A tag key (for example, CostCenter, Environment, Project, or Secret). Tag keys are case sensitive.

      • An optional field known as a tag value (for example, 111122223333, Production, or a team name). Omitting the tag value is the same as using an empty string. Like tag keys, tag values are case sensitive.

      Parameters:
      tags - An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts:

      • A tag key (for example, CostCenter, Environment, Project , or Secret). Tag keys are case sensitive.

      • An optional field known as a tag value (for example, 111122223333, Production, or a team name). Omitting the tag value is the same as using an empty string. Like tag keys, tag values are case sensitive.

      Returns:
      Returns a reference to this object so that method calls can be chained together.