@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OpenZFSUserOrGroupQuota extends Object implements Serializable, Cloneable, StructuredPojo
Used to configure quotas that define how much storage a user or group can use on an FSx for OpenZFS volume. For more information, see Volume properties in the FSx for OpenZFS User Guide.
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 that the quota applies to.
|
Integer |
getStorageCapacityQuotaGiB()
The user or group's storage quota, in gibibytes (GiB).
|
String |
getType()
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 that the quota applies to.
|
void |
setStorageCapacityQuotaGiB(Integer storageCapacityQuotaGiB)
The user or group's storage quota, in gibibytes (GiB).
|
void |
setType(String type)
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 that the quota applies to.
|
OpenZFSUserOrGroupQuota |
withStorageCapacityQuotaGiB(Integer storageCapacityQuotaGiB)
The user or group's storage quota, in gibibytes (GiB).
|
OpenZFSUserOrGroupQuota |
withType(OpenZFSQuotaType type)
Specifies whether the quota applies to a user or group.
|
OpenZFSUserOrGroupQuota |
withType(String type)
Specifies whether the quota applies to a user or group.
|
public void setType(String type)
Specifies whether the quota applies to a user or group.
type
- Specifies whether the quota applies to a user or group.OpenZFSQuotaType
public String getType()
Specifies whether the quota applies to a user or group.
OpenZFSQuotaType
public OpenZFSUserOrGroupQuota withType(String type)
Specifies whether the quota applies to a user or group.
type
- Specifies whether the quota applies to a user or group.OpenZFSQuotaType
public OpenZFSUserOrGroupQuota withType(OpenZFSQuotaType type)
Specifies whether the quota applies to a user or group.
type
- Specifies whether the quota applies to a user or group.OpenZFSQuotaType
public void setId(Integer id)
The ID of the user or group that the quota applies to.
id
- The ID of the user or group that the quota applies to.public Integer getId()
The ID of the user or group that the quota applies to.
public OpenZFSUserOrGroupQuota withId(Integer id)
The ID of the user or group that the quota applies to.
id
- The ID of the user or group that the quota applies to.public void setStorageCapacityQuotaGiB(Integer storageCapacityQuotaGiB)
The user or group's storage quota, in gibibytes (GiB).
storageCapacityQuotaGiB
- The user or group's storage quota, in gibibytes (GiB).public Integer getStorageCapacityQuotaGiB()
The user or group's storage quota, in gibibytes (GiB).
public OpenZFSUserOrGroupQuota withStorageCapacityQuotaGiB(Integer storageCapacityQuotaGiB)
The user or group's storage quota, in gibibytes (GiB).
storageCapacityQuotaGiB
- The user or group's storage quota, 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.