@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)
Marshalls this structured data using the given
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.StorageType
public String getStorageType()
The type of storage.
StorageType
public StorageRuleType withStorageType(String storageType)
The type of storage.
storageType
- The type of storage.StorageType
public void setStorageType(StorageType storageType)
The type of storage.
storageType
- The type of storage.StorageType
public StorageRuleType withStorageType(StorageType storageType)
The type of storage.
storageType
- The type of storage.StorageType
public String toString()
toString
in class Object
Object.toString()
public StorageRuleType clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.