Class CfnAccessPolicy.IamUserProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iotsitewise.CfnAccessPolicy.IamUserProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAccessPolicy.IamUserProperty>
- Enclosing interface:
CfnAccessPolicy.IamUserProperty
@Stability(Stable)
public static final class CfnAccessPolicy.IamUserProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAccessPolicy.IamUserProperty>
A builder for
CfnAccessPolicy.IamUserProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnAccessPolicy.IamUserProperty.getArn()
build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
arn
Sets the value ofCfnAccessPolicy.IamUserProperty.getArn()
- Parameters:
arn
- The ARN of the IAM user. For more information, see IAM ARNs in the IAM User Guide .If you delete the IAM user, access policies that contain this identity include an empty
arn
. You can delete the access policy for the IAM user that no longer exists.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAccessPolicy.IamUserProperty>
- Returns:
- a new instance of
CfnAccessPolicy.IamUserProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-