Class CfnSupportPermitPropsMixin.ConditionProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.supportauthz.CfnSupportPermitPropsMixin.ConditionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSupportPermitPropsMixin.ConditionProperty>
- Enclosing interface:
CfnSupportPermitPropsMixin.ConditionProperty
@Stability(Stable)
public static final class CfnSupportPermitPropsMixin.ConditionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSupportPermitPropsMixin.ConditionProperty>
A builder for
CfnSupportPermitPropsMixin.ConditionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallowAfter(String allowAfter) Sets the value ofCfnSupportPermitPropsMixin.ConditionProperty.getAllowAfter()allowBefore(String allowBefore) Sets the value ofCfnSupportPermitPropsMixin.ConditionProperty.getAllowBefore()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
allowAfter
@Stability(Stable) public CfnSupportPermitPropsMixin.ConditionProperty.Builder allowAfter(String allowAfter) Sets the value ofCfnSupportPermitPropsMixin.ConditionProperty.getAllowAfter()- Parameters:
allowAfter- The permit is active only after this time.- Returns:
this
-
allowBefore
@Stability(Stable) public CfnSupportPermitPropsMixin.ConditionProperty.Builder allowBefore(String allowBefore) Sets the value ofCfnSupportPermitPropsMixin.ConditionProperty.getAllowBefore()- Parameters:
allowBefore- The permit is active only before this time.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSupportPermitPropsMixin.ConditionProperty>- Returns:
- a new instance of
CfnSupportPermitPropsMixin.ConditionProperty - Throws:
NullPointerException- if any required attribute was not provided
-