Interface UpdateSyncConfigurationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CodeConnectionsResponse.Builder
,CopyableBuilder<UpdateSyncConfigurationResponse.Builder,
,UpdateSyncConfigurationResponse> SdkBuilder<UpdateSyncConfigurationResponse.Builder,
,UpdateSyncConfigurationResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
UpdateSyncConfigurationResponse
@Mutable
@NotThreadSafe
public static interface UpdateSyncConfigurationResponse.Builder
extends CodeConnectionsResponse.Builder, SdkPojo, CopyableBuilder<UpdateSyncConfigurationResponse.Builder,UpdateSyncConfigurationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionsyncConfiguration
(Consumer<SyncConfiguration.Builder> syncConfiguration) The information returned for the sync configuration to be updated.syncConfiguration
(SyncConfiguration syncConfiguration) The information returned for the sync configuration to be updated.Methods inherited from interface software.amazon.awssdk.services.codeconnections.model.CodeConnectionsResponse.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 Details
-
syncConfiguration
The information returned for the sync configuration to be updated.
- Parameters:
syncConfiguration
- The information returned for the sync configuration to be updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
syncConfiguration
default UpdateSyncConfigurationResponse.Builder syncConfiguration(Consumer<SyncConfiguration.Builder> syncConfiguration) The information returned for the sync configuration to be updated.
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 tosyncConfiguration(SyncConfiguration)
.- Parameters:
syncConfiguration
- 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:
-