Interface ValidStorageOptions.Builder

    • Method Detail

      • storageType

        ValidStorageOptions.Builder storageType​(String storageType)

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

        Parameters:
        storageType - The valid storage types for your DB instance. For example: gp2, gp3, io1, io2.
        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 (GiB). For example, 100 to 16,384.

        Parameters:
        storageSize - The valid range of storage in gibibytes (GiB). For example, 100 to 16,384.
        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 (GiB). For example, 100 to 16,384.

        Parameters:
        storageSize - The valid range of storage in gibibytes (GiB). For example, 100 to 16,384.
        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 (GiB). For example, 100 to 16,384.

        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).

        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:
        #storageSize(java.util.Collection)
      • provisionedIops

        ValidStorageOptions.Builder provisionedIops​(Collection<Range> provisionedIops)

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

        Parameters:
        provisionedIops - The valid range of provisioned IOPS. For example, 1000-256,000.
        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-256,000.

        Parameters:
        provisionedIops - The valid range of provisioned IOPS. For example, 1000-256,000.
        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-256,000.

        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).

        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:
        #provisionedIops(java.util.Collection)
      • 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).

        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:
        #iopsToStorageRatio(java.util.Collection)
      • supportsStorageAutoscaling

        ValidStorageOptions.Builder supportsStorageAutoscaling​(Boolean supportsStorageAutoscaling)

        Indicates whether or not Amazon RDS can automatically scale storage for DB instances that use the new instance class.

        Parameters:
        supportsStorageAutoscaling - Indicates whether or not Amazon RDS can automatically scale storage for DB instances that use the new instance class.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • provisionedStorageThroughput

        ValidStorageOptions.Builder provisionedStorageThroughput​(Collection<Range> provisionedStorageThroughput)

        The valid range of provisioned storage throughput. For example, 500-4,000 mebibytes per second (MiBps).

        Parameters:
        provisionedStorageThroughput - The valid range of provisioned storage throughput. For example, 500-4,000 mebibytes per second (MiBps).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • provisionedStorageThroughput

        ValidStorageOptions.Builder provisionedStorageThroughput​(Range... provisionedStorageThroughput)

        The valid range of provisioned storage throughput. For example, 500-4,000 mebibytes per second (MiBps).

        Parameters:
        provisionedStorageThroughput - The valid range of provisioned storage throughput. For example, 500-4,000 mebibytes per second (MiBps).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • provisionedStorageThroughput

        ValidStorageOptions.Builder provisionedStorageThroughput​(Consumer<Range.Builder>... provisionedStorageThroughput)

        The valid range of provisioned storage throughput. For example, 500-4,000 mebibytes per second (MiBps).

        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 #provisionedStorageThroughput(List).

        Parameters:
        provisionedStorageThroughput - 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:
        #provisionedStorageThroughput(java.util.Collection)
      • storageThroughputToIopsRatio

        ValidStorageOptions.Builder storageThroughputToIopsRatio​(Collection<DoubleRange> storageThroughputToIopsRatio)

        The valid range of storage throughput to provisioned IOPS ratios. For example, 0-0.25.

        Parameters:
        storageThroughputToIopsRatio - The valid range of storage throughput to provisioned IOPS ratios. For example, 0-0.25.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • storageThroughputToIopsRatio

        ValidStorageOptions.Builder storageThroughputToIopsRatio​(DoubleRange... storageThroughputToIopsRatio)

        The valid range of storage throughput to provisioned IOPS ratios. For example, 0-0.25.

        Parameters:
        storageThroughputToIopsRatio - The valid range of storage throughput to provisioned IOPS ratios. For example, 0-0.25.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • storageThroughputToIopsRatio

        ValidStorageOptions.Builder storageThroughputToIopsRatio​(Consumer<DoubleRange.Builder>... storageThroughputToIopsRatio)

        The valid range of storage throughput to provisioned IOPS ratios. For example, 0-0.25.

        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 #storageThroughputToIopsRatio(List).

        Parameters:
        storageThroughputToIopsRatio - 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:
        #storageThroughputToIopsRatio(java.util.Collection)