Class StorageRuleType
- java.lang.Object
-
- software.amazon.awssdk.services.workdocs.model.StorageRuleType
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<StorageRuleType.Builder,StorageRuleType>
@Generated("software.amazon.awssdk:codegen") public final class StorageRuleType extends Object implements SdkPojo, Serializable, ToCopyableBuilder<StorageRuleType.Builder,StorageRuleType>
Describes the storage for a user.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceStorageRuleType.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StorageRuleType.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends StorageRuleType.Builder>serializableBuilderClass()LongstorageAllocatedInBytes()The amount of storage allocated, in bytes.StorageTypestorageType()The type of storage.StringstorageTypeAsString()The type of storage.StorageRuleType.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
storageAllocatedInBytes
public final Long storageAllocatedInBytes()
The amount of storage allocated, in bytes.
- Returns:
- The amount of storage allocated, in bytes.
-
storageType
public final StorageType storageType()
The type of storage.
If the service returns an enum value that is not available in the current SDK version,
storageTypewill returnStorageType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstorageTypeAsString().- Returns:
- The type of storage.
- See Also:
StorageType
-
storageTypeAsString
public final String storageTypeAsString()
The type of storage.
If the service returns an enum value that is not available in the current SDK version,
storageTypewill returnStorageType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstorageTypeAsString().- Returns:
- The type of storage.
- See Also:
StorageType
-
toBuilder
public StorageRuleType.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<StorageRuleType.Builder,StorageRuleType>
-
builder
public static StorageRuleType.Builder builder()
-
serializableBuilderClass
public static Class<? extends StorageRuleType.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-