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, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods 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
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. ARepositorySyncDefinition
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. ARepositorySyncDefinition
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
This is a convenience method that creates an instance of theRepositorySyncDefinition
is a mapping from a repository branch to all the Amazon Web Services resources that are being synced from that branch.RepositorySyncDefinition.Builder
avoiding the need to create one manually viaRepositorySyncDefinition.builder()
.When the
Consumer
completes,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.
-