Interface ListRepositorySyncDefinitionsResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CodeConnectionsResponse.Builder,- CopyableBuilder<ListRepositorySyncDefinitionsResponse.Builder,,- ListRepositorySyncDefinitionsResponse> - SdkBuilder<ListRepositorySyncDefinitionsResponse.Builder,,- ListRepositorySyncDefinitionsResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- ListRepositorySyncDefinitionsResponse
- 
Method SummaryModifier 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.codeconnections.model.CodeConnectionsResponse.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
repositorySyncDefinitionsListRepositorySyncDefinitionsResponse.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. A- RepositorySyncDefinitionis 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.
 
- 
repositorySyncDefinitionsListRepositorySyncDefinitionsResponse.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. A- RepositorySyncDefinitionis 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.
 
- 
repositorySyncDefinitionsListRepositorySyncDefinitionsResponse.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 on- RepositorySyncDefinition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
nextTokenAn 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.
 
 
-