@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StorageRuleType extends Object implements Serializable, Cloneable, StructuredPojo
Describes the storage for a user.
| Constructor and Description |
|---|
StorageRuleType() |
| Modifier and Type | Method and Description |
|---|---|
StorageRuleType |
clone() |
boolean |
equals(Object obj) |
Long |
getStorageAllocatedInBytes()
The amount of storage allocated, in bytes.
|
String |
getStorageType()
The type of storage.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setStorageAllocatedInBytes(Long storageAllocatedInBytes)
The amount of storage allocated, in bytes.
|
void |
setStorageType(StorageType storageType)
The type of storage.
|
void |
setStorageType(String storageType)
The type of storage.
|
String |
toString()
Returns a string representation of this object.
|
StorageRuleType |
withStorageAllocatedInBytes(Long storageAllocatedInBytes)
The amount of storage allocated, in bytes.
|
StorageRuleType |
withStorageType(StorageType storageType)
The type of storage.
|
StorageRuleType |
withStorageType(String storageType)
The type of storage.
|
public void setStorageAllocatedInBytes(Long storageAllocatedInBytes)
The amount of storage allocated, in bytes.
storageAllocatedInBytes - The amount of storage allocated, in bytes.public Long getStorageAllocatedInBytes()
The amount of storage allocated, in bytes.
public StorageRuleType withStorageAllocatedInBytes(Long storageAllocatedInBytes)
The amount of storage allocated, in bytes.
storageAllocatedInBytes - The amount of storage allocated, in bytes.public void setStorageType(String storageType)
The type of storage.
storageType - The type of storage.StorageTypepublic String getStorageType()
The type of storage.
StorageTypepublic StorageRuleType withStorageType(String storageType)
The type of storage.
storageType - The type of storage.StorageTypepublic void setStorageType(StorageType storageType)
The type of storage.
storageType - The type of storage.StorageTypepublic StorageRuleType withStorageType(StorageType storageType)
The type of storage.
storageType - The type of storage.StorageTypepublic String toString()
toString in class ObjectObject.toString()public StorageRuleType clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.