Interface UserStorageMetadata.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<UserStorageMetadata.Builder,UserStorageMetadata>
,SdkBuilder<UserStorageMetadata.Builder,UserStorageMetadata>
,SdkPojo
- Enclosing class:
- UserStorageMetadata
public static interface UserStorageMetadata.Builder extends SdkPojo, CopyableBuilder<UserStorageMetadata.Builder,UserStorageMetadata>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default UserStorageMetadata.Builder
storageRule(Consumer<StorageRuleType.Builder> storageRule)
The storage for a user.UserStorageMetadata.Builder
storageRule(StorageRuleType storageRule)
The storage for a user.UserStorageMetadata.Builder
storageUtilizedInBytes(Long storageUtilizedInBytes)
The amount of storage used, in bytes.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
storageUtilizedInBytes
UserStorageMetadata.Builder storageUtilizedInBytes(Long storageUtilizedInBytes)
The amount of storage used, in bytes.
- Parameters:
storageUtilizedInBytes
- The amount of storage used, in bytes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageRule
UserStorageMetadata.Builder storageRule(StorageRuleType storageRule)
The storage for a user.
- Parameters:
storageRule
- The storage for a user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageRule
default UserStorageMetadata.Builder storageRule(Consumer<StorageRuleType.Builder> storageRule)
The storage for a user.
This is a convenience method that creates an instance of theStorageRuleType.Builder
avoiding the need to create one manually viaStorageRuleType.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostorageRule(StorageRuleType)
.- Parameters:
storageRule
- a consumer that will call methods onStorageRuleType.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
storageRule(StorageRuleType)
-
-