Interface StorageType.Builder

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

@Mutable @NotThreadSafe public static interface StorageType.Builder extends SdkPojo, CopyableBuilder<StorageType.Builder,StorageType>
  • Method Details

    • storageTypeName

      StorageType.Builder storageTypeName(String storageTypeName)

      The name of the storage type.

      Parameters:
      storageTypeName - The name of the storage type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • storageSubTypeName

      StorageType.Builder storageSubTypeName(String storageSubTypeName)

      The storage sub-type, such as gp3 or io1.

      Parameters:
      storageSubTypeName - The storage sub-type, such as gp3 or io1.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • storageTypeLimits

      StorageType.Builder storageTypeLimits(Collection<StorageTypeLimit> storageTypeLimits)

      Limits that are applicable for the given storage type.

      Parameters:
      storageTypeLimits - Limits that are applicable for the given storage type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • storageTypeLimits

      StorageType.Builder storageTypeLimits(StorageTypeLimit... storageTypeLimits)

      Limits that are applicable for the given storage type.

      Parameters:
      storageTypeLimits - Limits that are applicable for the given storage type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • storageTypeLimits

      StorageType.Builder storageTypeLimits(Consumer<StorageTypeLimit.Builder>... storageTypeLimits)

      Limits that are applicable for the given storage type.

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

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

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