public static final class CfnVolume.UserAndGroupQuotasProperty.Builder
extends java.lang.Object
CfnVolume.UserAndGroupQuotasProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnVolume.UserAndGroupQuotasProperty |
build()
Builds the configured instance.
|
CfnVolume.UserAndGroupQuotasProperty.Builder |
id(java.lang.Number id)
Sets the value of
CfnVolume.UserAndGroupQuotasProperty.getId() |
CfnVolume.UserAndGroupQuotasProperty.Builder |
storageCapacityQuotaGiB(java.lang.Number storageCapacityQuotaGiB)
Sets the value of
CfnVolume.UserAndGroupQuotasProperty.getStorageCapacityQuotaGiB() |
CfnVolume.UserAndGroupQuotasProperty.Builder |
type(java.lang.String type)
Sets the value of
CfnVolume.UserAndGroupQuotasProperty.getType() |
public CfnVolume.UserAndGroupQuotasProperty.Builder id(java.lang.Number id)
CfnVolume.UserAndGroupQuotasProperty.getId()
id
- The ID of the user or group. This parameter is required.this
public CfnVolume.UserAndGroupQuotasProperty.Builder storageCapacityQuotaGiB(java.lang.Number storageCapacityQuotaGiB)
CfnVolume.UserAndGroupQuotasProperty.getStorageCapacityQuotaGiB()
storageCapacityQuotaGiB
- The amount of storage that the user or group can use in gibibytes (GiB). This parameter is required.this
public CfnVolume.UserAndGroupQuotasProperty.Builder type(java.lang.String type)
CfnVolume.UserAndGroupQuotasProperty.getType()
type
- A value that specifies whether the quota applies to a user or group. This parameter is required.this
public CfnVolume.UserAndGroupQuotasProperty build()
CfnVolume.UserAndGroupQuotasProperty
java.lang.NullPointerException
- if any required attribute was not provided