Interface StartMigrationResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CopyableBuilder<StartMigrationResponse.Builder,,- StartMigrationResponse> - ElastiCacheResponse.Builder,- SdkBuilder<StartMigrationResponse.Builder,,- StartMigrationResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- StartMigrationResponse
@Mutable
@NotThreadSafe
public static interface StartMigrationResponse.Builder
extends ElastiCacheResponse.Builder, SdkPojo, CopyableBuilder<StartMigrationResponse.Builder,StartMigrationResponse> 
- 
Method SummaryModifier and TypeMethodDescriptiondefault StartMigrationResponse.BuilderreplicationGroup(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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.elasticache.model.ElastiCacheResponse.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
replicationGroupSets 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.
 
- 
replicationGroupdefault 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.Builderavoiding the need to create one manually viaReplicationGroup.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toreplicationGroup(ReplicationGroup).- Parameters:
- replicationGroup- a consumer that will call methods on- ReplicationGroup.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-