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 Summary
Modifier and TypeMethodDescriptionstorageSubTypeName(String storageSubTypeName) The storage sub-type, such asgp3orio1.storageTypeLimits(Collection<StorageTypeLimit> storageTypeLimits) Limits that are applicable for the given storage type.storageTypeLimits(Consumer<StorageTypeLimit.Builder>... storageTypeLimits) Limits that are applicable for the given storage type.storageTypeLimits(StorageTypeLimit... storageTypeLimits) Limits that are applicable for the given storage type.storageTypeName(String storageTypeName) The name of the storage type.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
The storage sub-type, such as
gp3orio1.- Parameters:
storageSubTypeName- The storage sub-type, such asgp3orio1.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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
Limits that are applicable for the given storage type.
This is a convenience method that creates an instance of theStorageTypeLimit.Builderavoiding the need to create one manually viaStorageTypeLimit.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostorageTypeLimits(List<StorageTypeLimit>).- Parameters:
storageTypeLimits- a consumer that will call methods onStorageTypeLimit.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-