public static final class CfnFleet.ResourceCreationLimitPolicyProperty.Builder
extends java.lang.Object
CfnFleet.ResourceCreationLimitPolicyProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnFleet.ResourceCreationLimitPolicyProperty |
build()
Builds the configured instance.
|
CfnFleet.ResourceCreationLimitPolicyProperty.Builder |
newGameSessionsPerCreator(java.lang.Number newGameSessionsPerCreator)
|
CfnFleet.ResourceCreationLimitPolicyProperty.Builder |
policyPeriodInMinutes(java.lang.Number policyPeriodInMinutes)
Sets the value of
CfnFleet.ResourceCreationLimitPolicyProperty.getPolicyPeriodInMinutes() |
public CfnFleet.ResourceCreationLimitPolicyProperty.Builder newGameSessionsPerCreator(java.lang.Number newGameSessionsPerCreator)
newGameSessionsPerCreator
- The maximum number of game sessions that an individual can create during the policy period.this
public CfnFleet.ResourceCreationLimitPolicyProperty.Builder policyPeriodInMinutes(java.lang.Number policyPeriodInMinutes)
CfnFleet.ResourceCreationLimitPolicyProperty.getPolicyPeriodInMinutes()
policyPeriodInMinutes
- The time span used in evaluating the resource creation limit policy.this
public CfnFleet.ResourceCreationLimitPolicyProperty build()
CfnFleet.ResourceCreationLimitPolicyProperty
java.lang.NullPointerException
- if any required attribute was not provided