Interface TestMigrationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<TestMigrationRequest.Builder,,TestMigrationRequest> ElastiCacheRequest.Builder,SdkBuilder<TestMigrationRequest.Builder,,TestMigrationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
TestMigrationRequest
public static interface TestMigrationRequest.Builder
extends ElastiCacheRequest.Builder, SdkPojo, CopyableBuilder<TestMigrationRequest.Builder,TestMigrationRequest>
-
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 is to 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 is to be migrated.
- Parameters:
replicationGroupId- The ID of the replication group to which data is to be migrated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customerNodeEndpointList
TestMigrationRequest.Builder customerNodeEndpointList(Collection<CustomerNodeEndpoint> customerNodeEndpointList) List of endpoints from which data should be migrated. List should have only one element.
- Parameters:
customerNodeEndpointList- List of endpoints from which data should be migrated. List should have only one element.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customerNodeEndpointList
TestMigrationRequest.Builder customerNodeEndpointList(CustomerNodeEndpoint... customerNodeEndpointList) List of endpoints from which data should be migrated. List should have only one element.
- Parameters:
customerNodeEndpointList- List of endpoints from which data should be migrated. List should have only one element.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customerNodeEndpointList
TestMigrationRequest.Builder customerNodeEndpointList(Consumer<CustomerNodeEndpoint.Builder>... customerNodeEndpointList) List of endpoints from which data should be migrated. 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
TestMigrationRequest.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
TestMigrationRequest.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.
-