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.BuildercustomerNodeEndpointList(Collection<CustomerNodeEndpoint> customerNodeEndpointList)List of endpoints from which data should be migrated.StartMigrationRequest.BuildercustomerNodeEndpointList(Consumer<CustomerNodeEndpoint.Builder>... customerNodeEndpointList)List of endpoints from which data should be migrated.StartMigrationRequest.BuildercustomerNodeEndpointList(CustomerNodeEndpoint... customerNodeEndpointList)List of endpoints from which data should be migrated.StartMigrationRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)StartMigrationRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)StartMigrationRequest.BuilderreplicationGroupId(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, sdkFieldNameToField, 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 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 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:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
StartMigrationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-