Interface RestoreFromDbBackupRequest.Builder

  • 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

      RestoreFromDbBackupRequest.Builder restoreToTime(Instant 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

      RestoreFromDbBackupRequest.Builder restoreMode(String 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

      RestoreFromDbBackupRequest.Builder vpcSubnetIds(String... 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

      RestoreFromDbBackupRequest.Builder vpcSecurityGroupIds(Collection<String> 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

      RestoreFromDbBackupRequest.Builder vpcSecurityGroupIds(String... 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

      RestoreFromDbBackupRequest.Builder publiclyAccessible(Boolean 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 the LogDeliveryConfiguration.Builder avoiding the need to create one manually via LogDeliveryConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to logDeliveryConfiguration(LogDeliveryConfiguration).

      Parameters:
      logDeliveryConfiguration - a consumer that will call methods on LogDeliveryConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • maintenanceSchedule

      RestoreFromDbBackupRequest.Builder maintenanceSchedule(MaintenanceSchedule 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 the MaintenanceSchedule.Builder avoiding the need to create one manually via MaintenanceSchedule.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to maintenanceSchedule(MaintenanceSchedule).

      Parameters:
      maintenanceSchedule - a consumer that will call methods on MaintenanceSchedule.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

      RestoreFromDbBackupRequest.Builder networkType(String 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

      RestoreFromDbBackupRequest.Builder deploymentType(String 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 the DbBackupConfiguration.Builder avoiding the need to create one manually via DbBackupConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to dbBackupConfigurations(List<DbBackupConfiguration>).

      Parameters:
      dbBackupConfigurations - a consumer that will call methods on DbBackupConfiguration.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.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.