Class CfnAccessPolicy.IamRoleProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iotsitewise.CfnAccessPolicy.IamRoleProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAccessPolicy.IamRoleProperty>
- Enclosing interface:
CfnAccessPolicy.IamRoleProperty
@Stability(Stable)
public static final class CfnAccessPolicy.IamRoleProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAccessPolicy.IamRoleProperty>
A builder for
CfnAccessPolicy.IamRoleProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnAccessPolicy.IamRoleProperty.getArn()
build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
arn
Sets the value ofCfnAccessPolicy.IamRoleProperty.getArn()
- Parameters:
arn
- The ARN of the IAM role. For more information, see IAM ARNs in the IAM User Guide .- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAccessPolicy.IamRoleProperty>
- Returns:
- a new instance of
CfnAccessPolicy.IamRoleProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-