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