Class CfnVolume.UserAndGroupQuotasProperty.Builder
java.lang.Object
software.amazon.awscdk.services.fsx.CfnVolume.UserAndGroupQuotasProperty.Builder
- All Implemented Interfaces:
 software.amazon.jsii.Builder<CfnVolume.UserAndGroupQuotasProperty>
- Enclosing interface:
 CfnVolume.UserAndGroupQuotasProperty
@Stability(Stable)
public static final class CfnVolume.UserAndGroupQuotasProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVolume.UserAndGroupQuotasProperty>
A builder for 
CfnVolume.UserAndGroupQuotasProperty- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnVolume.UserAndGroupQuotasProperty.getId()storageCapacityQuotaGiB(Number storageCapacityQuotaGiB) Sets the value ofCfnVolume.UserAndGroupQuotasProperty.getStorageCapacityQuotaGiB()Sets the value ofCfnVolume.UserAndGroupQuotasProperty.getType() 
- 
Constructor Details
- 
Builder
public Builder() 
 - 
 - 
Method Details
- 
id
Sets the value ofCfnVolume.UserAndGroupQuotasProperty.getId()- Parameters:
 id- The ID of the user or group that the quota applies to. This parameter is required.- Returns:
 this
 - 
storageCapacityQuotaGiB
@Stability(Stable) public CfnVolume.UserAndGroupQuotasProperty.Builder storageCapacityQuotaGiB(Number storageCapacityQuotaGiB) Sets the value ofCfnVolume.UserAndGroupQuotasProperty.getStorageCapacityQuotaGiB()- Parameters:
 storageCapacityQuotaGiB- The user or group's storage quota, in gibibytes (GiB). This parameter is required.- Returns:
 this
 - 
type
Sets the value ofCfnVolume.UserAndGroupQuotasProperty.getType()- Parameters:
 type- Specifies whether the quota applies to a user or group. This parameter is required.- Returns:
 this
 - 
build
Builds the configured instance.- Specified by:
 buildin interfacesoftware.amazon.jsii.Builder<CfnVolume.UserAndGroupQuotasProperty>- Returns:
 - a new instance of 
CfnVolume.UserAndGroupQuotasProperty - Throws:
 NullPointerException- if any required attribute was not provided
 
 -