Interface ValidStorageOptions.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ValidStorageOptions.Builder,ValidStorageOptions>, SdkBuilder<ValidStorageOptions.Builder,ValidStorageOptions>, SdkPojo
Enclosing class:
ValidStorageOptions

public static interface ValidStorageOptions.Builder extends SdkPojo, CopyableBuilder<ValidStorageOptions.Builder,ValidStorageOptions>
  • Method Details

    • storageType

      ValidStorageOptions.Builder storageType(String storageType)

      The valid storage types for your DB instance. For example, gp2, io1.

      Parameters:
      storageType - The valid storage types for your DB instance. For example, gp2, io1.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • storageSize

      ValidStorageOptions.Builder storageSize(Collection<Range> storageSize)

      The valid range of storage in gibibytes. For example, 100 to 16384.

      Parameters:
      storageSize - The valid range of storage in gibibytes. For example, 100 to 16384.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • storageSize

      ValidStorageOptions.Builder storageSize(Range... storageSize)

      The valid range of storage in gibibytes. For example, 100 to 16384.

      Parameters:
      storageSize - The valid range of storage in gibibytes. For example, 100 to 16384.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • storageSize

      ValidStorageOptions.Builder storageSize(Consumer<Range.Builder>... storageSize)

      The valid range of storage in gibibytes. For example, 100 to 16384.

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

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

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

      ValidStorageOptions.Builder provisionedIops(Collection<Range> provisionedIops)

      The valid range of provisioned IOPS. For example, 1000-20000.

      Parameters:
      provisionedIops - The valid range of provisioned IOPS. For example, 1000-20000.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • provisionedIops

      ValidStorageOptions.Builder provisionedIops(Range... provisionedIops)

      The valid range of provisioned IOPS. For example, 1000-20000.

      Parameters:
      provisionedIops - The valid range of provisioned IOPS. For example, 1000-20000.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • provisionedIops

      ValidStorageOptions.Builder provisionedIops(Consumer<Range.Builder>... provisionedIops)

      The valid range of provisioned IOPS. For example, 1000-20000.

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

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

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

      ValidStorageOptions.Builder iopsToStorageRatio(Collection<DoubleRange> iopsToStorageRatio)

      The valid range of Provisioned IOPS to gibibytes of storage multiplier. For example, 3-10, which means that provisioned IOPS can be between 3 and 10 times storage.

      Parameters:
      iopsToStorageRatio - The valid range of Provisioned IOPS to gibibytes of storage multiplier. For example, 3-10, which means that provisioned IOPS can be between 3 and 10 times storage.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • iopsToStorageRatio

      ValidStorageOptions.Builder iopsToStorageRatio(DoubleRange... iopsToStorageRatio)

      The valid range of Provisioned IOPS to gibibytes of storage multiplier. For example, 3-10, which means that provisioned IOPS can be between 3 and 10 times storage.

      Parameters:
      iopsToStorageRatio - The valid range of Provisioned IOPS to gibibytes of storage multiplier. For example, 3-10, which means that provisioned IOPS can be between 3 and 10 times storage.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • iopsToStorageRatio

      ValidStorageOptions.Builder iopsToStorageRatio(Consumer<DoubleRange.Builder>... iopsToStorageRatio)

      The valid range of Provisioned IOPS to gibibytes of storage multiplier. For example, 3-10, which means that provisioned IOPS can be between 3 and 10 times storage.

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

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

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