Interface TestMigrationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<TestMigrationResponse.Builder,
,TestMigrationResponse> ElastiCacheResponse.Builder
,SdkBuilder<TestMigrationResponse.Builder,
,TestMigrationResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
TestMigrationResponse
public static interface TestMigrationResponse.Builder
extends ElastiCacheResponse.Builder, SdkPojo, CopyableBuilder<TestMigrationResponse.Builder,TestMigrationResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault TestMigrationResponse.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 TestMigrationResponse.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:
-