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