@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OpenZFSUserOrGroupQuota extends Object implements Serializable, Cloneable, StructuredPojo
The configuration for how much storage a user or group can use on the volume.
Constructor and Description |
---|
OpenZFSUserOrGroupQuota() |
Modifier and Type | Method and Description |
---|---|
OpenZFSUserOrGroupQuota |
clone() |
boolean |
equals(Object obj) |
Integer |
getId()
The ID of the user or group.
|
Integer |
getStorageCapacityQuotaGiB()
The amount of storage that the user or group can use in gibibytes (GiB).
|
String |
getType()
A value that specifies whether the quota applies to a user or group.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setId(Integer id)
The ID of the user or group.
|
void |
setStorageCapacityQuotaGiB(Integer storageCapacityQuotaGiB)
The amount of storage that the user or group can use in gibibytes (GiB).
|
void |
setType(String type)
A value that specifies whether the quota applies to a user or group.
|
String |
toString()
Returns a string representation of this object.
|
OpenZFSUserOrGroupQuota |
withId(Integer id)
The ID of the user or group.
|
OpenZFSUserOrGroupQuota |
withStorageCapacityQuotaGiB(Integer storageCapacityQuotaGiB)
The amount of storage that the user or group can use in gibibytes (GiB).
|
OpenZFSUserOrGroupQuota |
withType(OpenZFSQuotaType type)
A value that specifies whether the quota applies to a user or group.
|
OpenZFSUserOrGroupQuota |
withType(String type)
A value that specifies whether the quota applies to a user or group.
|
public void setType(String type)
A value that specifies whether the quota applies to a user or group.
type
- A value that specifies whether the quota applies to a user or group.OpenZFSQuotaType
public String getType()
A value that specifies whether the quota applies to a user or group.
OpenZFSQuotaType
public OpenZFSUserOrGroupQuota withType(String type)
A value that specifies whether the quota applies to a user or group.
type
- A value that specifies whether the quota applies to a user or group.OpenZFSQuotaType
public OpenZFSUserOrGroupQuota withType(OpenZFSQuotaType type)
A value that specifies whether the quota applies to a user or group.
type
- A value that specifies whether the quota applies to a user or group.OpenZFSQuotaType
public void setId(Integer id)
The ID of the user or group.
id
- The ID of the user or group.public Integer getId()
The ID of the user or group.
public OpenZFSUserOrGroupQuota withId(Integer id)
The ID of the user or group.
id
- The ID of the user or group.public void setStorageCapacityQuotaGiB(Integer storageCapacityQuotaGiB)
The amount of storage that the user or group can use in gibibytes (GiB).
storageCapacityQuotaGiB
- The amount of storage that the user or group can use in gibibytes (GiB).public Integer getStorageCapacityQuotaGiB()
The amount of storage that the user or group can use in gibibytes (GiB).
public OpenZFSUserOrGroupQuota withStorageCapacityQuotaGiB(Integer storageCapacityQuotaGiB)
The amount of storage that the user or group can use in gibibytes (GiB).
storageCapacityQuotaGiB
- The amount of storage that the user or group can use in gibibytes (GiB).public String toString()
toString
in class Object
Object.toString()
public OpenZFSUserOrGroupQuota clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.