Interface PrepareMigrationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<PrepareMigrationRequest.Builder,,PrepareMigrationRequest> ElastiCacheRequest.Builder,SdkBuilder<PrepareMigrationRequest.Builder,,PrepareMigrationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
PrepareMigrationRequest
-
Method Summary
Modifier and TypeMethodDescriptioncustomerNodeEndpointList(Collection<CustomerNodeEndpoint> customerNodeEndpointList) The list of endpoints from which to migrate data.customerNodeEndpointList(Consumer<CustomerNodeEndpoint.Builder>... customerNodeEndpointList) The list of endpoints from which to migrate data.customerNodeEndpointList(CustomerNodeEndpoint... customerNodeEndpointList) The list of endpoints from which to migrate data.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.serverlessCacheName(String serverlessCacheName) The name of the serverless cache to prepare for migration.default PrepareMigrationRequest.BuildersourceAuthenticationConfiguration(Consumer<SourceAuthenticationConfiguration.Builder> sourceAuthenticationConfiguration) The authentication configuration for connecting to the source during migration.sourceAuthenticationConfiguration(SourceAuthenticationConfiguration sourceAuthenticationConfiguration) The authentication configuration for connecting to the source during migration.default PrepareMigrationRequest.BuildersourceTlsConfiguration(Consumer<SourceTlsConfiguration.Builder> sourceTlsConfiguration) The TLS configuration for connecting to the source during migration.sourceTlsConfiguration(SourceTlsConfiguration sourceTlsConfiguration) The TLS configuration for connecting to the source during migration.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, sdkFieldNameToField, sdkFields
-
Method Details
-
serverlessCacheName
The name of the serverless cache to prepare for migration.
- Parameters:
serverlessCacheName- The name of the serverless cache to prepare for migration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customerNodeEndpointList
PrepareMigrationRequest.Builder customerNodeEndpointList(Collection<CustomerNodeEndpoint> customerNodeEndpointList) The list of endpoints from which to migrate data. For serverless cache migrations, the list should have only one element.
- Parameters:
customerNodeEndpointList- The list of endpoints from which to migrate data. For serverless cache migrations, the list should have only one element.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customerNodeEndpointList
PrepareMigrationRequest.Builder customerNodeEndpointList(CustomerNodeEndpoint... customerNodeEndpointList) The list of endpoints from which to migrate data. For serverless cache migrations, the list should have only one element.
- Parameters:
customerNodeEndpointList- The list of endpoints from which to migrate data. For serverless cache migrations, the list should have only one element.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customerNodeEndpointList
PrepareMigrationRequest.Builder customerNodeEndpointList(Consumer<CustomerNodeEndpoint.Builder>... customerNodeEndpointList) The list of endpoints from which to migrate data. For serverless cache migrations, 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:
-
sourceAuthenticationConfiguration
PrepareMigrationRequest.Builder sourceAuthenticationConfiguration(SourceAuthenticationConfiguration sourceAuthenticationConfiguration) The authentication configuration for connecting to the source during migration.
- Parameters:
sourceAuthenticationConfiguration- The authentication configuration for connecting to the source during migration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceAuthenticationConfiguration
default PrepareMigrationRequest.Builder sourceAuthenticationConfiguration(Consumer<SourceAuthenticationConfiguration.Builder> sourceAuthenticationConfiguration) The authentication configuration for connecting to the source during migration.
This is a convenience method that creates an instance of theSourceAuthenticationConfiguration.Builderavoiding the need to create one manually viaSourceAuthenticationConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosourceAuthenticationConfiguration(SourceAuthenticationConfiguration).- Parameters:
sourceAuthenticationConfiguration- a consumer that will call methods onSourceAuthenticationConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sourceTlsConfiguration
PrepareMigrationRequest.Builder sourceTlsConfiguration(SourceTlsConfiguration sourceTlsConfiguration) The TLS configuration for connecting to the source during migration.
- Parameters:
sourceTlsConfiguration- The TLS configuration for connecting to the source during migration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceTlsConfiguration
default PrepareMigrationRequest.Builder sourceTlsConfiguration(Consumer<SourceTlsConfiguration.Builder> sourceTlsConfiguration) The TLS configuration for connecting to the source during migration.
This is a convenience method that creates an instance of theSourceTlsConfiguration.Builderavoiding the need to create one manually viaSourceTlsConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosourceTlsConfiguration(SourceTlsConfiguration).- Parameters:
sourceTlsConfiguration- a consumer that will call methods onSourceTlsConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
PrepareMigrationRequest.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
PrepareMigrationRequest.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.
-