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
Modifier and TypeMethodDescriptioncustomerNodeEndpointList
(Collection<CustomerNodeEndpoint> customerNodeEndpointList) List of endpoints from which data should be migrated.customerNodeEndpointList
(Consumer<CustomerNodeEndpoint.Builder>... customerNodeEndpointList) List of endpoints from which data should be migrated.customerNodeEndpointList
(CustomerNodeEndpoint... customerNodeEndpointList) List of endpoints from which data should be migrated.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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 Details
-
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 tocustomerNodeEndpointList(List<CustomerNodeEndpoint>)
.- 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:
-
overrideConfiguration
StartMigrationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
StartMigrationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-