@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Capacity extends Object implements Serializable, Cloneable, StructuredPojo
The storage capacity of an on-premises storage system resource (for example, a volume).
Constructor and Description |
---|
Capacity() |
Modifier and Type | Method and Description |
---|---|
Capacity |
clone() |
boolean |
equals(Object obj) |
Long |
getLogicalUsed()
The amount of space that's being used in a storage system resource without accounting for compression or
deduplication.
|
Long |
getProvisioned()
The total amount of space available in a storage system resource.
|
Long |
getUsed()
The amount of space that's being used in a storage system resource.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setLogicalUsed(Long logicalUsed)
The amount of space that's being used in a storage system resource without accounting for compression or
deduplication.
|
void |
setProvisioned(Long provisioned)
The total amount of space available in a storage system resource.
|
void |
setUsed(Long used)
The amount of space that's being used in a storage system resource.
|
String |
toString()
Returns a string representation of this object.
|
Capacity |
withLogicalUsed(Long logicalUsed)
The amount of space that's being used in a storage system resource without accounting for compression or
deduplication.
|
Capacity |
withProvisioned(Long provisioned)
The total amount of space available in a storage system resource.
|
Capacity |
withUsed(Long used)
The amount of space that's being used in a storage system resource.
|
public void setUsed(Long used)
The amount of space that's being used in a storage system resource.
used
- The amount of space that's being used in a storage system resource.public Long getUsed()
The amount of space that's being used in a storage system resource.
public Capacity withUsed(Long used)
The amount of space that's being used in a storage system resource.
used
- The amount of space that's being used in a storage system resource.public void setProvisioned(Long provisioned)
The total amount of space available in a storage system resource.
provisioned
- The total amount of space available in a storage system resource.public Long getProvisioned()
The total amount of space available in a storage system resource.
public Capacity withProvisioned(Long provisioned)
The total amount of space available in a storage system resource.
provisioned
- The total amount of space available in a storage system resource.public void setLogicalUsed(Long logicalUsed)
The amount of space that's being used in a storage system resource without accounting for compression or deduplication.
logicalUsed
- The amount of space that's being used in a storage system resource without accounting for compression or
deduplication.public Long getLogicalUsed()
The amount of space that's being used in a storage system resource without accounting for compression or deduplication.
public Capacity withLogicalUsed(Long logicalUsed)
The amount of space that's being used in a storage system resource without accounting for compression or deduplication.
logicalUsed
- The amount of space that's being used in a storage system resource without accounting for compression or
deduplication.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.