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