Class CfnDomainPropsMixin.DomainStatsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.customerprofiles.CfnDomainPropsMixin.DomainStatsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDomainPropsMixin.DomainStatsProperty>
- Enclosing interface:
CfnDomainPropsMixin.DomainStatsProperty
@Stability(Stable)
public static final class CfnDomainPropsMixin.DomainStatsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDomainPropsMixin.DomainStatsProperty>
A builder for
CfnDomainPropsMixin.DomainStatsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.meteringProfileCount(Number meteringProfileCount) Sets the value ofCfnDomainPropsMixin.DomainStatsProperty.getMeteringProfileCount()objectCount(Number objectCount) Sets the value ofCfnDomainPropsMixin.DomainStatsProperty.getObjectCount()profileCount(Number profileCount) Sets the value ofCfnDomainPropsMixin.DomainStatsProperty.getProfileCount()Sets the value ofCfnDomainPropsMixin.DomainStatsProperty.getTotalSize()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
meteringProfileCount
@Stability(Stable) public CfnDomainPropsMixin.DomainStatsProperty.Builder meteringProfileCount(Number meteringProfileCount) Sets the value ofCfnDomainPropsMixin.DomainStatsProperty.getMeteringProfileCount()- Parameters:
meteringProfileCount- The number of profiles that you are currently paying for in the domain. If you have more than 100 objects associated with a single profile, that profile counts as two profiles. If you have more than 200 objects, that profile counts as three, and so on.- Returns:
this
-
objectCount
@Stability(Stable) public CfnDomainPropsMixin.DomainStatsProperty.Builder objectCount(Number objectCount) Sets the value ofCfnDomainPropsMixin.DomainStatsProperty.getObjectCount()- Parameters:
objectCount- The total number of objects in domain.- Returns:
this
-
profileCount
@Stability(Stable) public CfnDomainPropsMixin.DomainStatsProperty.Builder profileCount(Number profileCount) Sets the value ofCfnDomainPropsMixin.DomainStatsProperty.getProfileCount()- Parameters:
profileCount- The total number of profiles currently in the domain.- Returns:
this
-
totalSize
@Stability(Stable) public CfnDomainPropsMixin.DomainStatsProperty.Builder totalSize(Number totalSize) Sets the value ofCfnDomainPropsMixin.DomainStatsProperty.getTotalSize()- Parameters:
totalSize- The total size, in bytes, of all objects in the domain.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDomainPropsMixin.DomainStatsProperty>- Returns:
- a new instance of
CfnDomainPropsMixin.DomainStatsProperty - Throws:
NullPointerException- if any required attribute was not provided
-