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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.elasticache.model.ElastiCacheRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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 Valkey or Redis OSS (cluster mode disabled), the list should have only one element.
- Parameters:
customerNodeEndpointList- List of endpoints from which data should be migrated. For Valkey or Redis OSS (cluster mode disabled), the 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 Valkey or Redis OSS (cluster mode disabled), the list should have only one element.
- Parameters:
customerNodeEndpointList- List of endpoints from which data should be migrated. For Valkey or Redis OSS (cluster mode disabled), the 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 Valkey or Redis OSS (cluster mode disabled), the list should have only one element.
This is a convenience method that creates an instance of theCustomerNodeEndpoint.Builderavoiding the need to create one manually viaCustomerNodeEndpoint.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-