Class CfnSupportPermitPropsMixin.ResourceSetProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.supportauthz.CfnSupportPermitPropsMixin.ResourceSetProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSupportPermitPropsMixin.ResourceSetProperty>
- Enclosing interface:
CfnSupportPermitPropsMixin.ResourceSetProperty
@Stability(Stable)
public static final class CfnSupportPermitPropsMixin.ResourceSetProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSupportPermitPropsMixin.ResourceSetProperty>
A builder for
CfnSupportPermitPropsMixin.ResourceSetProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallResourcesInRegion(Object allResourcesInRegion) Sets the value ofCfnSupportPermitPropsMixin.ResourceSetProperty.getAllResourcesInRegion()build()Builds the configured instance.Sets the value ofCfnSupportPermitPropsMixin.ResourceSetProperty.getResources()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
allResourcesInRegion
@Stability(Stable) public CfnSupportPermitPropsMixin.ResourceSetProperty.Builder allResourcesInRegion(Object allResourcesInRegion) Sets the value ofCfnSupportPermitPropsMixin.ResourceSetProperty.getAllResourcesInRegion()- Parameters:
allResourcesInRegion- Applies to all resources in the region.- Returns:
this
-
resources
@Stability(Stable) public CfnSupportPermitPropsMixin.ResourceSetProperty.Builder resources(List<String> resources) Sets the value ofCfnSupportPermitPropsMixin.ResourceSetProperty.getResources()- Parameters:
resources- An explicit list of resource ARNs.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSupportPermitPropsMixin.ResourceSetProperty>- Returns:
- a new instance of
CfnSupportPermitPropsMixin.ResourceSetProperty - Throws:
NullPointerException- if any required attribute was not provided
-