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 Summary
Modifier and TypeMethodDescriptionAn enumeration token that, when provided in a request, returns the next batch of the results.repositorySyncDefinitions(Collection<RepositorySyncDefinition> repositorySyncDefinitions) The list of repository sync definitions returned by the request.repositorySyncDefinitions(Consumer<RepositorySyncDefinition.Builder>... repositorySyncDefinitions) The list of repository sync definitions returned by the request.repositorySyncDefinitions(RepositorySyncDefinition... repositorySyncDefinitions) The list of repository sync definitions returned by the request.Methods inherited from interface software.amazon.awssdk.services.codestarconnections.model.CodeStarConnectionsResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
repositorySyncDefinitions
ListRepositorySyncDefinitionsResponse.Builder repositorySyncDefinitions(Collection<RepositorySyncDefinition> repositorySyncDefinitions) The list of repository sync definitions returned by the request. A
RepositorySyncDefinitionis 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. ARepositorySyncDefinitionis 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
RepositorySyncDefinitionis 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. ARepositorySyncDefinitionis 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
This is a convenience method that creates an instance of theRepositorySyncDefinitionis a mapping from a repository branch to all the Amazon Web Services resources that are being synced from that branch.RepositorySyncDefinition.Builderavoiding the need to create one manually viaRepositorySyncDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torepositorySyncDefinitions(List<RepositorySyncDefinition>).- Parameters:
repositorySyncDefinitions- a consumer that will call methods onRepositorySyncDefinition.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.
-