public static final class CfnUser.PolicyProperty.Builder
extends java.lang.Object
CfnUser.PolicyProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnUser.PolicyProperty |
build()
Builds the configured instance.
|
CfnUser.PolicyProperty.Builder |
policyDocument(java.lang.Object policyDocument)
Sets the value of
CfnUser.PolicyProperty.getPolicyDocument() |
CfnUser.PolicyProperty.Builder |
policyName(java.lang.String policyName)
Sets the value of
CfnUser.PolicyProperty.getPolicyName() |
public CfnUser.PolicyProperty.Builder policyDocument(java.lang.Object policyDocument)
CfnUser.PolicyProperty.getPolicyDocument()
policyDocument
- The policy document. This parameter is required.this
public CfnUser.PolicyProperty.Builder policyName(java.lang.String policyName)
CfnUser.PolicyProperty.getPolicyName()
policyName
- The friendly name (not ARN) identifying the policy. This parameter is required.this
public CfnUser.PolicyProperty build()
CfnUser.PolicyProperty
java.lang.NullPointerException
- if any required attribute was not provided