@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UserStorageMetadata extends Object implements Serializable, Cloneable, StructuredPojo
Describes the storage for a user.
| Constructor and Description | 
|---|
| UserStorageMetadata() | 
| Modifier and Type | Method and Description | 
|---|---|
| UserStorageMetadata | clone() | 
| boolean | equals(Object obj) | 
| StorageRuleType | getStorageRule()
 The storage for a user. | 
| Long | getStorageUtilizedInBytes()
 The amount of storage used, in bytes. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setStorageRule(StorageRuleType storageRule)
 The storage for a user. | 
| void | setStorageUtilizedInBytes(Long storageUtilizedInBytes)
 The amount of storage used, in bytes. | 
| String | toString()Returns a string representation of this object; useful for testing and debugging. | 
| UserStorageMetadata | withStorageRule(StorageRuleType storageRule)
 The storage for a user. | 
| UserStorageMetadata | withStorageUtilizedInBytes(Long storageUtilizedInBytes)
 The amount of storage used, in bytes. | 
public void setStorageUtilizedInBytes(Long storageUtilizedInBytes)
The amount of storage used, in bytes.
storageUtilizedInBytes - The amount of storage used, in bytes.public Long getStorageUtilizedInBytes()
The amount of storage used, in bytes.
public UserStorageMetadata withStorageUtilizedInBytes(Long storageUtilizedInBytes)
The amount of storage used, in bytes.
storageUtilizedInBytes - The amount of storage used, in bytes.public void setStorageRule(StorageRuleType storageRule)
The storage for a user.
storageRule - The storage for a user.public StorageRuleType getStorageRule()
The storage for a user.
public UserStorageMetadata withStorageRule(StorageRuleType storageRule)
The storage for a user.
storageRule - The storage for a user.public String toString()
toString in class ObjectObject.toString()public UserStorageMetadata clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.