Interface RestoreFromDbBackupRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<RestoreFromDbBackupRequest.Builder,,RestoreFromDbBackupRequest> SdkBuilder<RestoreFromDbBackupRequest.Builder,,RestoreFromDbBackupRequest> SdkPojo,SdkRequest.Builder,TimestreamInfluxDbRequest.Builder
- Enclosing class:
RestoreFromDbBackupRequest
-
Method Summary
Modifier and TypeMethodDescriptiondbBackupConfigurations(Collection<DbBackupConfiguration> dbBackupConfigurations) A list of backup configurations to apply to the restored resource.dbBackupConfigurations(Consumer<DbBackupConfiguration.Builder>... dbBackupConfigurations) A list of backup configurations to apply to the restored resource.dbBackupConfigurations(DbBackupConfiguration... dbBackupConfigurations) A list of backup configurations to apply to the restored resource.dbBackupId(String dbBackupId) The identifier of the backup to restore from.deploymentType(String deploymentType) Specifies the deployment type of the restored resource.deploymentType(ResourceDeploymentType deploymentType) Specifies the deployment type of the restored resource.The Amazon Web Services KMS key identifier to use for encryption of the restored resource.logDeliveryConfiguration(Consumer<LogDeliveryConfiguration.Builder> logDeliveryConfiguration) Configuration for sending InfluxDB engine logs to the specified S3 bucket for the restored resource.logDeliveryConfiguration(LogDeliveryConfiguration logDeliveryConfiguration) Configuration for sending InfluxDB engine logs to the specified S3 bucket for the restored resource.maintenanceSchedule(Consumer<MaintenanceSchedule.Builder> maintenanceSchedule) The maintenance schedule for the restored resource.maintenanceSchedule(MaintenanceSchedule maintenanceSchedule) The maintenance schedule for the restored resource.The name of the new resource to create from the restore.networkType(String networkType) Specifies the network type of the restored resource.networkType(NetworkType networkType) Specifies the network type of the restored resource.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The port number on which the restored InfluxDB resource accepts connections.publiclyAccessible(Boolean publiclyAccessible) Specifies whether the restored resource is publicly accessible.restoreMode(String restoreMode) Specifies whether to restore to a new resource or replace the existing resource.restoreMode(RestoreMode restoreMode) Specifies whether to restore to a new resource or replace the existing resource.restoreToTime(Instant restoreToTime) The point in time to restore to, for continuous backups.A list of key-value pairs to associate with the restored resource.vpcSecurityGroupIds(String... vpcSecurityGroupIds) A list of VPC security group IDs for the restored resource.vpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds) A list of VPC security group IDs for the restored resource.vpcSubnetIds(String... vpcSubnetIds) A list of VPC subnet IDs for the restored resource.vpcSubnetIds(Collection<String> vpcSubnetIds) A list of VPC subnet IDs for the restored resource.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.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.timestreaminfluxdb.model.TimestreamInfluxDbRequest.Builder
build
-
Method Details
-
name
The name of the new resource to create from the restore. If restoring to an existing resource, the name must match the existing resource name.
- Parameters:
name- The name of the new resource to create from the restore. If restoring to an existing resource, the name must match the existing resource name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbBackupId
The identifier of the backup to restore from.
- Parameters:
dbBackupId- The identifier of the backup to restore from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
restoreToTime
The point in time to restore to, for continuous backups. Must be within the backup's retention window.
- Parameters:
restoreToTime- The point in time to restore to, for continuous backups. Must be within the backup's retention window.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
restoreMode
Specifies whether to restore to a new resource or replace the existing resource. Valid values are NEW_RESOURCE (default) and REPLACE_EXISTING.
- Parameters:
restoreMode- Specifies whether to restore to a new resource or replace the existing resource. Valid values are NEW_RESOURCE (default) and REPLACE_EXISTING.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
restoreMode
Specifies whether to restore to a new resource or replace the existing resource. Valid values are NEW_RESOURCE (default) and REPLACE_EXISTING.
- Parameters:
restoreMode- Specifies whether to restore to a new resource or replace the existing resource. Valid values are NEW_RESOURCE (default) and REPLACE_EXISTING.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
vpcSubnetIds
A list of VPC subnet IDs for the restored resource. If not specified, the restored resource uses the same subnets as the backup.
- Parameters:
vpcSubnetIds- A list of VPC subnet IDs for the restored resource. If not specified, the restored resource uses the same subnets as the backup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcSubnetIds
A list of VPC subnet IDs for the restored resource. If not specified, the restored resource uses the same subnets as the backup.
- Parameters:
vpcSubnetIds- A list of VPC subnet IDs for the restored resource. If not specified, the restored resource uses the same subnets as the backup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcSecurityGroupIds
A list of VPC security group IDs for the restored resource. If not specified, the restored resource uses the same security groups as the backup.
- Parameters:
vpcSecurityGroupIds- A list of VPC security group IDs for the restored resource. If not specified, the restored resource uses the same security groups as the backup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcSecurityGroupIds
A list of VPC security group IDs for the restored resource. If not specified, the restored resource uses the same security groups as the backup.
- Parameters:
vpcSecurityGroupIds- A list of VPC security group IDs for the restored resource. If not specified, the restored resource uses the same security groups as the backup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publiclyAccessible
Specifies whether the restored resource is publicly accessible.
- Parameters:
publiclyAccessible- Specifies whether the restored resource is publicly accessible.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logDeliveryConfiguration
RestoreFromDbBackupRequest.Builder logDeliveryConfiguration(LogDeliveryConfiguration logDeliveryConfiguration) Configuration for sending InfluxDB engine logs to the specified S3 bucket for the restored resource.
- Parameters:
logDeliveryConfiguration- Configuration for sending InfluxDB engine logs to the specified S3 bucket for the restored resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logDeliveryConfiguration
default RestoreFromDbBackupRequest.Builder logDeliveryConfiguration(Consumer<LogDeliveryConfiguration.Builder> logDeliveryConfiguration) Configuration for sending InfluxDB engine logs to the specified S3 bucket for the restored resource.
This is a convenience method that creates an instance of theLogDeliveryConfiguration.Builderavoiding the need to create one manually viaLogDeliveryConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tologDeliveryConfiguration(LogDeliveryConfiguration).- Parameters:
logDeliveryConfiguration- a consumer that will call methods onLogDeliveryConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maintenanceSchedule
The maintenance schedule for the restored resource.
- Parameters:
maintenanceSchedule- The maintenance schedule for the restored resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maintenanceSchedule
default RestoreFromDbBackupRequest.Builder maintenanceSchedule(Consumer<MaintenanceSchedule.Builder> maintenanceSchedule) The maintenance schedule for the restored resource.
This is a convenience method that creates an instance of theMaintenanceSchedule.Builderavoiding the need to create one manually viaMaintenanceSchedule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomaintenanceSchedule(MaintenanceSchedule).- Parameters:
maintenanceSchedule- a consumer that will call methods onMaintenanceSchedule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
A list of key-value pairs to associate with the restored resource.
- Parameters:
tags- A list of key-value pairs to associate with the restored resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
port
The port number on which the restored InfluxDB resource accepts connections.
- Parameters:
port- The port number on which the restored InfluxDB resource accepts connections.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkType
Specifies the network type of the restored resource. Valid values are IPV4 and DUAL.
- Parameters:
networkType- Specifies the network type of the restored resource. Valid values are IPV4 and DUAL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
networkType
Specifies the network type of the restored resource. Valid values are IPV4 and DUAL.
- Parameters:
networkType- Specifies the network type of the restored resource. Valid values are IPV4 and DUAL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deploymentType
Specifies the deployment type of the restored resource. Valid values are SINGLE_AZ, WITH_MULTIAZ_STANDBY, and MULTI_NODE_READ_REPLICAS.
- Parameters:
deploymentType- Specifies the deployment type of the restored resource. Valid values are SINGLE_AZ, WITH_MULTIAZ_STANDBY, and MULTI_NODE_READ_REPLICAS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deploymentType
Specifies the deployment type of the restored resource. Valid values are SINGLE_AZ, WITH_MULTIAZ_STANDBY, and MULTI_NODE_READ_REPLICAS.
- Parameters:
deploymentType- Specifies the deployment type of the restored resource. Valid values are SINGLE_AZ, WITH_MULTIAZ_STANDBY, and MULTI_NODE_READ_REPLICAS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dbBackupConfigurations
RestoreFromDbBackupRequest.Builder dbBackupConfigurations(Collection<DbBackupConfiguration> dbBackupConfigurations) A list of backup configurations to apply to the restored resource.
- Parameters:
dbBackupConfigurations- A list of backup configurations to apply to the restored resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbBackupConfigurations
RestoreFromDbBackupRequest.Builder dbBackupConfigurations(DbBackupConfiguration... dbBackupConfigurations) A list of backup configurations to apply to the restored resource.
- Parameters:
dbBackupConfigurations- A list of backup configurations to apply to the restored resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbBackupConfigurations
RestoreFromDbBackupRequest.Builder dbBackupConfigurations(Consumer<DbBackupConfiguration.Builder>... dbBackupConfigurations) A list of backup configurations to apply to the restored resource.
This is a convenience method that creates an instance of theDbBackupConfiguration.Builderavoiding the need to create one manually viaDbBackupConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todbBackupConfigurations(List<DbBackupConfiguration>).- Parameters:
dbBackupConfigurations- a consumer that will call methods onDbBackupConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
kmsKeyId
The Amazon Web Services KMS key identifier to use for encryption of the restored resource. Can be a key ID, key ARN, alias name, or alias ARN.
- Parameters:
kmsKeyId- The Amazon Web Services KMS key identifier to use for encryption of the restored resource. Can be a key ID, key ARN, alias name, or alias ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
RestoreFromDbBackupRequest.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
RestoreFromDbBackupRequest.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.
-