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