Interface UpdateSyncConfigurationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodeStarConnectionsResponse.Builder,CopyableBuilder<UpdateSyncConfigurationResponse.Builder,,UpdateSyncConfigurationResponse> SdkBuilder<UpdateSyncConfigurationResponse.Builder,,UpdateSyncConfigurationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateSyncConfigurationResponse
public static interface UpdateSyncConfigurationResponse.Builder
extends CodeStarConnectionsResponse.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.codestarconnections.model.CodeStarConnectionsResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaSyncConfiguration.builder().When the
Consumercompletes,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:
-