Interface CreateSyncConfigurationResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodeStarConnectionsResponse.Builder,CopyableBuilder<CreateSyncConfigurationResponse.Builder,CreateSyncConfigurationResponse>,SdkBuilder<CreateSyncConfigurationResponse.Builder,CreateSyncConfigurationResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateSyncConfigurationResponse
public static interface CreateSyncConfigurationResponse.Builder extends CodeStarConnectionsResponse.Builder, SdkPojo, CopyableBuilder<CreateSyncConfigurationResponse.Builder,CreateSyncConfigurationResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateSyncConfigurationResponse.BuildersyncConfiguration(Consumer<SyncConfiguration.Builder> syncConfiguration)The created sync configuration for the connection.CreateSyncConfigurationResponse.BuildersyncConfiguration(SyncConfiguration syncConfiguration)The created sync configuration for the connection.-
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
-
syncConfiguration
CreateSyncConfigurationResponse.Builder syncConfiguration(SyncConfiguration syncConfiguration)
The created sync configuration for the connection. A sync configuration allows Amazon Web Services to sync content from a Git repository to update a specified Amazon Web Services resource.
- Parameters:
syncConfiguration- The created sync configuration for the connection. A sync configuration allows Amazon Web Services to sync content from a Git repository to update a specified Amazon Web Services resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
syncConfiguration
default CreateSyncConfigurationResponse.Builder syncConfiguration(Consumer<SyncConfiguration.Builder> syncConfiguration)
The created sync configuration for the connection. A sync configuration allows Amazon Web Services to sync content from a Git repository to update a specified Amazon Web Services resource.
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:
syncConfiguration(SyncConfiguration)
-
-