Interface StartMigrationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<StartMigrationResponse.Builder,
,StartMigrationResponse> ElastiCacheResponse.Builder
,SdkBuilder<StartMigrationResponse.Builder,
,StartMigrationResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
StartMigrationResponse
public static interface StartMigrationResponse.Builder
extends ElastiCacheResponse.Builder, SdkPojo, CopyableBuilder<StartMigrationResponse.Builder,StartMigrationResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault StartMigrationResponse.Builder
replicationGroup
(Consumer<ReplicationGroup.Builder> replicationGroup) Sets the value of the ReplicationGroup property for this object.replicationGroup
(ReplicationGroup replicationGroup) Sets the value of the ReplicationGroup property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.elasticache.model.ElastiCacheResponse.Builder
build, responseMetadata, responseMetadata
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 Details
-
replicationGroup
Sets the value of the ReplicationGroup property for this object.- Parameters:
replicationGroup
- The new value for the ReplicationGroup property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicationGroup
default StartMigrationResponse.Builder replicationGroup(Consumer<ReplicationGroup.Builder> replicationGroup) Sets the value of the ReplicationGroup property for this object. This is a convenience method that creates an instance of theReplicationGroup.Builder
avoiding the need to create one manually viaReplicationGroup.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toreplicationGroup(ReplicationGroup)
.- Parameters:
replicationGroup
- a consumer that will call methods onReplicationGroup.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-