Interface StorageType.Builder

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

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

    • storageTypeName

      StorageType.Builder storageTypeName(String storageTypeName)
      Sets the value of the StorageTypeName property for this object.
      Parameters:
      storageTypeName - The new value for the StorageTypeName property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • storageSubTypeName

      StorageType.Builder storageSubTypeName(String storageSubTypeName)
      Sets the value of the StorageSubTypeName property for this object.
      Parameters:
      storageSubTypeName - The new value for the StorageSubTypeName property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • storageTypeLimits

      StorageType.Builder storageTypeLimits(Collection<StorageTypeLimit> storageTypeLimits)

      List of limits that are applicable for given storage type.

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

      StorageType.Builder storageTypeLimits(StorageTypeLimit... storageTypeLimits)

      List of limits that are applicable for given storage type.

      Parameters:
      storageTypeLimits - List of limits that are applicable for 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)

      List of limits that are applicable for 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: