Interface GetSyncConfigurationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CodeConnectionsResponse.Builder
,CopyableBuilder<GetSyncConfigurationResponse.Builder,
,GetSyncConfigurationResponse> SdkBuilder<GetSyncConfigurationResponse.Builder,
,GetSyncConfigurationResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetSyncConfigurationResponse
@Mutable
@NotThreadSafe
public static interface GetSyncConfigurationResponse.Builder
extends CodeConnectionsResponse.Builder, SdkPojo, CopyableBuilder<GetSyncConfigurationResponse.Builder,GetSyncConfigurationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionsyncConfiguration
(Consumer<SyncConfiguration.Builder> syncConfiguration) The details about the sync configuration for which you want to retrieve information.syncConfiguration
(SyncConfiguration syncConfiguration) The details about the sync configuration for which you want to retrieve information.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 details about the sync configuration for which you want to retrieve information.
- Parameters:
syncConfiguration
- The details about the sync configuration for which you want to retrieve information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
syncConfiguration
default GetSyncConfigurationResponse.Builder syncConfiguration(Consumer<SyncConfiguration.Builder> syncConfiguration) The details about the sync configuration for which you want to retrieve information.
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:
-