Interface ListRepositorySyncDefinitionsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodeStarConnectionsResponse.Builder,CopyableBuilder<ListRepositorySyncDefinitionsResponse.Builder,ListRepositorySyncDefinitionsResponse>,SdkBuilder<ListRepositorySyncDefinitionsResponse.Builder,ListRepositorySyncDefinitionsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListRepositorySyncDefinitionsResponse
public static interface ListRepositorySyncDefinitionsResponse.Builder extends CodeStarConnectionsResponse.Builder, SdkPojo, CopyableBuilder<ListRepositorySyncDefinitionsResponse.Builder,ListRepositorySyncDefinitionsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListRepositorySyncDefinitionsResponse.BuildernextToken(String nextToken)An enumeration token that, when provided in a request, returns the next batch of the results.ListRepositorySyncDefinitionsResponse.BuilderrepositorySyncDefinitions(Collection<RepositorySyncDefinition> repositorySyncDefinitions)The list of repository sync definitions returned by the request.ListRepositorySyncDefinitionsResponse.BuilderrepositorySyncDefinitions(Consumer<RepositorySyncDefinition.Builder>... repositorySyncDefinitions)The list of repository sync definitions returned by the request.ListRepositorySyncDefinitionsResponse.BuilderrepositorySyncDefinitions(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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
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 to#repositorySyncDefinitions(List.) - 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:
#repositorySyncDefinitions(java.util.Collection)
-
nextToken
ListRepositorySyncDefinitionsResponse.Builder nextToken(String 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.
-
-