Interface GetDbBackupResponse.Builder

  • Method Details

    • id

      Service-generated unique identifier of the backup.

      Parameters:
      id - Service-generated unique identifier of the backup.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The customer-provided name of the backup.

      Parameters:
      name - The customer-provided name of the backup.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • arn

      The Amazon Resource Name (ARN) of the backup.

      Parameters:
      arn - The Amazon Resource Name (ARN) of the backup.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The current status of the backup.

      Parameters:
      status - The current status of the backup.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The current status of the backup.

      Parameters:
      status - The current status of the backup.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • createdAt

      GetDbBackupResponse.Builder createdAt(Instant createdAt)

      The time when the backup was created.

      Parameters:
      createdAt - The time when the backup was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • expiresAfter

      GetDbBackupResponse.Builder expiresAfter(String expiresAfter)

      The date after which the backup will be automatically deleted.

      Parameters:
      expiresAfter - The date after which the backup will be automatically deleted.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dbResourceId

      GetDbBackupResponse.Builder dbResourceId(String dbResourceId)

      The identifier of the DB resource that the backup was created from.

      Parameters:
      dbResourceId - The identifier of the DB resource that the backup was created from.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • type

      The type of backup.

      Parameters:
      type - The type of backup.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      The type of backup.

      Parameters:
      type - The type of backup.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • engineType

      GetDbBackupResponse.Builder engineType(String engineType)

      The engine type of the resource that the backup was created from.

      Parameters:
      engineType - The engine type of the resource that the backup was created from.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • engineType

      GetDbBackupResponse.Builder engineType(EngineType engineType)

      The engine type of the resource that the backup was created from.

      Parameters:
      engineType - The engine type of the resource that the backup was created from.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • deploymentType

      GetDbBackupResponse.Builder deploymentType(String deploymentType)

      The deployment type of the resource that the backup was created from.

      Parameters:
      deploymentType - The deployment type of the resource that the backup was created from.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • deploymentType

      GetDbBackupResponse.Builder deploymentType(ResourceDeploymentType deploymentType)

      The deployment type of the resource that the backup was created from.

      Parameters:
      deploymentType - The deployment type of the resource that the backup was created from.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • kmsKeyId

      GetDbBackupResponse.Builder kmsKeyId(String kmsKeyId)

      The Amazon Web Services KMS key ARN used for encryption of the resource at the time of backup.

      Parameters:
      kmsKeyId - The Amazon Web Services KMS key ARN used for encryption of the resource at the time of backup.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clusterConfiguration

      GetDbBackupResponse.Builder clusterConfiguration(ClusterConfiguration clusterConfiguration)

      The cluster configuration of the resource at the time of backup.

      Parameters:
      clusterConfiguration - The cluster configuration of the resource at the time of backup.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clusterConfiguration

      default GetDbBackupResponse.Builder clusterConfiguration(Consumer<ClusterConfiguration.Builder> clusterConfiguration)

      The cluster configuration of the resource at the time of backup.

      This is a convenience method that creates an instance of the ClusterConfiguration.Builder avoiding the need to create one manually via ClusterConfiguration.builder().

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

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

      GetDbBackupResponse.Builder dbParameterGroupId(String dbParameterGroupId)

      The identifier of the DB parameter group associated with the backup.

      Parameters:
      dbParameterGroupId - The identifier of the DB parameter group associated with the backup.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dbInstanceType

      GetDbBackupResponse.Builder dbInstanceType(String dbInstanceType)

      The DB instance type of the resource at the time of backup.

      Parameters:
      dbInstanceType - The DB instance type of the resource at the time of backup.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • dbInstanceType

      GetDbBackupResponse.Builder dbInstanceType(DbInstanceType dbInstanceType)

      The DB instance type of the resource at the time of backup.

      Parameters:
      dbInstanceType - The DB instance type of the resource at the time of backup.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • logDeliveryConfiguration

      GetDbBackupResponse.Builder logDeliveryConfiguration(LogDeliveryConfiguration logDeliveryConfiguration)

      The log delivery configuration of the resource at the time of backup.

      Parameters:
      logDeliveryConfiguration - The log delivery configuration of the resource at the time of backup.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • logDeliveryConfiguration

      default GetDbBackupResponse.Builder logDeliveryConfiguration(Consumer<LogDeliveryConfiguration.Builder> logDeliveryConfiguration)

      The log delivery configuration of the resource at the time of backup.

      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:
    • failoverMode

      GetDbBackupResponse.Builder failoverMode(String failoverMode)

      The failover mode of the resource at the time of backup.

      Parameters:
      failoverMode - The failover mode of the resource at the time of backup.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • failoverMode

      GetDbBackupResponse.Builder failoverMode(FailoverMode failoverMode)

      The failover mode of the resource at the time of backup.

      Parameters:
      failoverMode - The failover mode of the resource at the time of backup.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • dbStorageType

      GetDbBackupResponse.Builder dbStorageType(String dbStorageType)

      The storage type of the resource at the time of backup.

      Parameters:
      dbStorageType - The storage type of the resource at the time of backup.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • dbStorageType

      GetDbBackupResponse.Builder dbStorageType(DbStorageType dbStorageType)

      The storage type of the resource at the time of backup.

      Parameters:
      dbStorageType - The storage type of the resource at the time of backup.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • allocatedStorage

      GetDbBackupResponse.Builder allocatedStorage(Integer allocatedStorage)

      The allocated storage of the resource at the time of backup, in GiB.

      Parameters:
      allocatedStorage - The allocated storage of the resource at the time of backup, in GiB.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • vpcSubnetIds

      GetDbBackupResponse.Builder vpcSubnetIds(Collection<String> vpcSubnetIds)

      The VPC subnet IDs associated with the resource at the time of backup.

      Parameters:
      vpcSubnetIds - The VPC subnet IDs associated with the resource at the time of backup.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • vpcSubnetIds

      GetDbBackupResponse.Builder vpcSubnetIds(String... vpcSubnetIds)

      The VPC subnet IDs associated with the resource at the time of backup.

      Parameters:
      vpcSubnetIds - The VPC subnet IDs associated with the resource at the time of backup.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • vpcSecurityGroupIds

      GetDbBackupResponse.Builder vpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds)

      The VPC security group IDs associated with the resource at the time of backup.

      Parameters:
      vpcSecurityGroupIds - The VPC security group IDs associated with the resource at the time of backup.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • vpcSecurityGroupIds

      GetDbBackupResponse.Builder vpcSecurityGroupIds(String... vpcSecurityGroupIds)

      The VPC security group IDs associated with the resource at the time of backup.

      Parameters:
      vpcSecurityGroupIds - The VPC security group IDs associated with the resource at the time of backup.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • publiclyAccessible

      GetDbBackupResponse.Builder publiclyAccessible(Boolean publiclyAccessible)

      Indicates whether the resource was publicly accessible at the time of backup.

      Parameters:
      publiclyAccessible - Indicates whether the resource was publicly accessible at the time of backup.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • port

      The port number of the resource at the time of backup.

      Parameters:
      port - The port number of the resource at the time of backup.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • networkType

      GetDbBackupResponse.Builder networkType(String networkType)

      The network type of the resource at the time of backup.

      Parameters:
      networkType - The network type of the resource at the time of backup.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • networkType

      GetDbBackupResponse.Builder networkType(NetworkType networkType)

      The network type of the resource at the time of backup.

      Parameters:
      networkType - The network type of the resource at the time of backup.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • influxAuthParametersSecretArn

      GetDbBackupResponse.Builder influxAuthParametersSecretArn(String influxAuthParametersSecretArn)

      The ARN of the Secrets Manager secret containing the InfluxDB auth parameters.

      Parameters:
      influxAuthParametersSecretArn - The ARN of the Secrets Manager secret containing the InfluxDB auth parameters.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maintenanceSchedule

      GetDbBackupResponse.Builder maintenanceSchedule(MaintenanceSchedule maintenanceSchedule)

      The maintenance schedule of the resource at the time of backup.

      Parameters:
      maintenanceSchedule - The maintenance schedule of the resource at the time of backup.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maintenanceSchedule

      default GetDbBackupResponse.Builder maintenanceSchedule(Consumer<MaintenanceSchedule.Builder> maintenanceSchedule)

      The maintenance schedule of the resource at the time of backup.

      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: