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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListSyncConfigurationsResponse.BuildernextToken(String nextToken)An enumeration token that allows the operation to batch the next results of the operation.ListSyncConfigurationsResponse.BuildersyncConfigurations(Collection<SyncConfiguration> syncConfigurations)The list of repository sync definitions returned by the request.ListSyncConfigurationsResponse.BuildersyncConfigurations(Consumer<SyncConfiguration.Builder>... syncConfigurations)The list of repository sync definitions returned by the request.ListSyncConfigurationsResponse.BuildersyncConfigurations(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 Detail
-
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
ListSyncConfigurationsResponse.Builder syncConfigurations(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
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.Builderavoiding the need to create one manually viaSyncConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#syncConfigurations(List.) - 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:
#syncConfigurations(java.util.Collection)
-
nextToken
ListSyncConfigurationsResponse.Builder nextToken(String 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.
-
-