Interface ListRepositorySyncDefinitionsResponse.Builder

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

  • Method Details

    • repositorySyncDefinitions

      ListRepositorySyncDefinitionsResponse.Builder repositorySyncDefinitions(Collection<RepositorySyncDefinition> repositorySyncDefinitions)

      The list of repository sync definitions returned by the request. A RepositorySyncDefinition is a mapping from a repository branch to all the Amazon Web Services resources that are being synced from that branch.

      Parameters:
      repositorySyncDefinitions - The list of repository sync definitions returned by the request. A RepositorySyncDefinition is a mapping from a repository branch to all the Amazon Web Services resources that are being synced from that branch.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • repositorySyncDefinitions

      ListRepositorySyncDefinitionsResponse.Builder repositorySyncDefinitions(RepositorySyncDefinition... repositorySyncDefinitions)

      The list of repository sync definitions returned by the request. A RepositorySyncDefinition is a mapping from a repository branch to all the Amazon Web Services resources that are being synced from that branch.

      Parameters:
      repositorySyncDefinitions - The list of repository sync definitions returned by the request. A RepositorySyncDefinition is a mapping from a repository branch to all the Amazon Web Services resources that are being synced from that branch.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • repositorySyncDefinitions

      ListRepositorySyncDefinitionsResponse.Builder repositorySyncDefinitions(Consumer<RepositorySyncDefinition.Builder>... repositorySyncDefinitions)

      The list of repository sync definitions returned by the request. A RepositorySyncDefinition is a mapping from a repository branch to all the Amazon Web Services resources that are being synced from that branch.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to repositorySyncDefinitions(List<RepositorySyncDefinition>).

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

      An enumeration token that, when provided in a request, returns the next batch of the results.

      Parameters:
      nextToken - An enumeration token that, when provided in a request, returns the next batch of the results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.