Interface ListSyncConfigurationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CodeStarConnectionsResponse.Builder
,CopyableBuilder<ListSyncConfigurationsResponse.Builder,
,ListSyncConfigurationsResponse> SdkBuilder<ListSyncConfigurationsResponse.Builder,
,ListSyncConfigurationsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListSyncConfigurationsResponse
public static interface ListSyncConfigurationsResponse.Builder
extends CodeStarConnectionsResponse.Builder, SdkPojo, CopyableBuilder<ListSyncConfigurationsResponse.Builder,ListSyncConfigurationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionAn enumeration token that allows the operation to batch the next results of the operation.syncConfigurations
(Collection<SyncConfiguration> syncConfigurations) The list of repository sync definitions returned by the request.syncConfigurations
(Consumer<SyncConfiguration.Builder>... syncConfigurations) The list of repository sync definitions returned by the request.syncConfigurations
(SyncConfiguration... syncConfigurations) 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
-
syncConfigurations
ListSyncConfigurationsResponse.Builder syncConfigurations(Collection<SyncConfiguration> syncConfigurations) The list of repository sync definitions returned by the request.
- Parameters:
syncConfigurations
- The list of repository sync definitions returned by the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
syncConfigurations
The list of repository sync definitions returned by the request.
- Parameters:
syncConfigurations
- The list of repository sync definitions returned by the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
syncConfigurations
ListSyncConfigurationsResponse.Builder syncConfigurations(Consumer<SyncConfiguration.Builder>... syncConfigurations) The list of repository sync definitions returned by the request.
This is a convenience method that creates an instance of theSyncConfiguration.Builder
avoiding the need to create one manually viaSyncConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosyncConfigurations(List<SyncConfiguration>)
.- Parameters:
syncConfigurations
- a consumer that will call methods onSyncConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
An enumeration token that allows the operation to batch the next results of the operation.
- Parameters:
nextToken
- An enumeration token that allows the operation to batch the next results of the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-