Interface StartMigrationRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<StartMigrationRequest.Builder,StartMigrationRequest>
,ElastiCacheRequest.Builder
,SdkBuilder<StartMigrationRequest.Builder,StartMigrationRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- StartMigrationRequest
public static interface StartMigrationRequest.Builder extends ElastiCacheRequest.Builder, SdkPojo, CopyableBuilder<StartMigrationRequest.Builder,StartMigrationRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StartMigrationRequest.Builder
customerNodeEndpointList(Collection<CustomerNodeEndpoint> customerNodeEndpointList)
List of endpoints from which data should be migrated.StartMigrationRequest.Builder
customerNodeEndpointList(Consumer<CustomerNodeEndpoint.Builder>... customerNodeEndpointList)
List of endpoints from which data should be migrated.StartMigrationRequest.Builder
customerNodeEndpointList(CustomerNodeEndpoint... customerNodeEndpointList)
List of endpoints from which data should be migrated.StartMigrationRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
StartMigrationRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
StartMigrationRequest.Builder
replicationGroupId(String replicationGroupId)
The ID of the replication group to which data should be migrated.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.elasticache.model.ElastiCacheRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
replicationGroupId
StartMigrationRequest.Builder replicationGroupId(String replicationGroupId)
The ID of the replication group to which data should be migrated.
- Parameters:
replicationGroupId
- The ID of the replication group to which data should be migrated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customerNodeEndpointList
StartMigrationRequest.Builder customerNodeEndpointList(Collection<CustomerNodeEndpoint> customerNodeEndpointList)
List of endpoints from which data should be migrated. For Redis (cluster mode disabled), list should have only one element.
- Parameters:
customerNodeEndpointList
- List of endpoints from which data should be migrated. For Redis (cluster mode disabled), list should have only one element.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customerNodeEndpointList
StartMigrationRequest.Builder customerNodeEndpointList(CustomerNodeEndpoint... customerNodeEndpointList)
List of endpoints from which data should be migrated. For Redis (cluster mode disabled), list should have only one element.
- Parameters:
customerNodeEndpointList
- List of endpoints from which data should be migrated. For Redis (cluster mode disabled), list should have only one element.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customerNodeEndpointList
StartMigrationRequest.Builder customerNodeEndpointList(Consumer<CustomerNodeEndpoint.Builder>... customerNodeEndpointList)
List of endpoints from which data should be migrated. For Redis (cluster mode disabled), list should have only one element.
This is a convenience method that creates an instance of theCustomerNodeEndpoint.Builder
avoiding the need to create one manually viaCustomerNodeEndpoint.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#customerNodeEndpointList(List
.) - Parameters:
customerNodeEndpointList
- a consumer that will call methods onCustomerNodeEndpoint.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#customerNodeEndpointList(java.util.Collection
)
-
overrideConfiguration
StartMigrationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
StartMigrationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-