Class CfnSupportPermitPropsMixin.PermitProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.supportauthz.CfnSupportPermitPropsMixin.PermitProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSupportPermitPropsMixin.PermitProperty>
- Enclosing interface:
CfnSupportPermitPropsMixin.PermitProperty
@Stability(Stable)
public static final class CfnSupportPermitPropsMixin.PermitProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSupportPermitPropsMixin.PermitProperty>
A builder for
CfnSupportPermitPropsMixin.PermitProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnSupportPermitPropsMixin.PermitProperty.getActions()actions(IResolvable actions) Sets the value ofCfnSupportPermitPropsMixin.PermitProperty.getActions()build()Builds the configured instance.conditions(List<? extends Object> conditions) Sets the value ofCfnSupportPermitPropsMixin.PermitProperty.getConditions()conditions(IResolvable conditions) Sets the value ofCfnSupportPermitPropsMixin.PermitProperty.getConditions()Sets the value ofCfnSupportPermitPropsMixin.PermitProperty.getResources()resources(IResolvable resources) Sets the value ofCfnSupportPermitPropsMixin.PermitProperty.getResources()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
actions
@Stability(Stable) public CfnSupportPermitPropsMixin.PermitProperty.Builder actions(IResolvable actions) Sets the value ofCfnSupportPermitPropsMixin.PermitProperty.getActions()- Parameters:
actions- The set of actions a support permit grants. Exactly one of AllActions or Actions must be provided.- Returns:
this
-
actions
@Stability(Stable) public CfnSupportPermitPropsMixin.PermitProperty.Builder actions(CfnSupportPermitPropsMixin.ActionSetProperty actions) Sets the value ofCfnSupportPermitPropsMixin.PermitProperty.getActions()- Parameters:
actions- The set of actions a support permit grants. Exactly one of AllActions or Actions must be provided.- Returns:
this
-
conditions
@Stability(Stable) public CfnSupportPermitPropsMixin.PermitProperty.Builder conditions(IResolvable conditions) Sets the value ofCfnSupportPermitPropsMixin.PermitProperty.getConditions()- Parameters:
conditions- Optional time-bound conditions (at most two).- Returns:
this
-
conditions
@Stability(Stable) public CfnSupportPermitPropsMixin.PermitProperty.Builder conditions(List<? extends Object> conditions) Sets the value ofCfnSupportPermitPropsMixin.PermitProperty.getConditions()- Parameters:
conditions- Optional time-bound conditions (at most two).- Returns:
this
-
resources
@Stability(Stable) public CfnSupportPermitPropsMixin.PermitProperty.Builder resources(IResolvable resources) Sets the value ofCfnSupportPermitPropsMixin.PermitProperty.getResources()- Parameters:
resources- The set of resources a support permit applies to. Exactly one of AllResourcesInRegion or Resources must be provided.- Returns:
this
-
resources
@Stability(Stable) public CfnSupportPermitPropsMixin.PermitProperty.Builder resources(CfnSupportPermitPropsMixin.ResourceSetProperty resources) Sets the value ofCfnSupportPermitPropsMixin.PermitProperty.getResources()- Parameters:
resources- The set of resources a support permit applies to. Exactly one of AllResourcesInRegion or Resources must be provided.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSupportPermitPropsMixin.PermitProperty>- Returns:
- a new instance of
CfnSupportPermitPropsMixin.PermitProperty - Throws:
NullPointerException- if any required attribute was not provided
-