@Stability(value=Stable) public static final class CfnManagedPolicyProps.Builder extends Object implements software.amazon.jsii.Builder<CfnManagedPolicyProps>
CfnManagedPolicyProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnManagedPolicyProps |
build()
Builds the configured instance.
|
CfnManagedPolicyProps.Builder |
description(String description)
Sets the value of
CfnManagedPolicyProps.getDescription() |
CfnManagedPolicyProps.Builder |
groups(List<String> groups)
Sets the value of
CfnManagedPolicyProps.getGroups() |
CfnManagedPolicyProps.Builder |
managedPolicyName(String managedPolicyName)
Sets the value of
CfnManagedPolicyProps.getManagedPolicyName() |
CfnManagedPolicyProps.Builder |
path(String path)
Sets the value of
CfnManagedPolicyProps.getPath() |
CfnManagedPolicyProps.Builder |
policyDocument(Object policyDocument)
Sets the value of
CfnManagedPolicyProps.getPolicyDocument() |
CfnManagedPolicyProps.Builder |
roles(List<String> roles)
Sets the value of
CfnManagedPolicyProps.getRoles() |
CfnManagedPolicyProps.Builder |
users(List<String> users)
Sets the value of
CfnManagedPolicyProps.getUsers() |
@Stability(value=Stable) public CfnManagedPolicyProps.Builder policyDocument(Object policyDocument)
CfnManagedPolicyProps.getPolicyDocument()
policyDocument
- `AWS::IAM::ManagedPolicy.PolicyDocument`. This parameter is required.this
@Stability(value=Stable) public CfnManagedPolicyProps.Builder description(String description)
CfnManagedPolicyProps.getDescription()
description
- `AWS::IAM::ManagedPolicy.Description`.this
@Stability(value=Stable) public CfnManagedPolicyProps.Builder groups(List<String> groups)
CfnManagedPolicyProps.getGroups()
groups
- `AWS::IAM::ManagedPolicy.Groups`.this
@Stability(value=Stable) public CfnManagedPolicyProps.Builder managedPolicyName(String managedPolicyName)
CfnManagedPolicyProps.getManagedPolicyName()
managedPolicyName
- `AWS::IAM::ManagedPolicy.ManagedPolicyName`.this
@Stability(value=Stable) public CfnManagedPolicyProps.Builder path(String path)
CfnManagedPolicyProps.getPath()
path
- `AWS::IAM::ManagedPolicy.Path`.this
@Stability(value=Stable) public CfnManagedPolicyProps.Builder roles(List<String> roles)
CfnManagedPolicyProps.getRoles()
roles
- `AWS::IAM::ManagedPolicy.Roles`.this
@Stability(value=Stable) public CfnManagedPolicyProps.Builder users(List<String> users)
CfnManagedPolicyProps.getUsers()
users
- `AWS::IAM::ManagedPolicy.Users`.this
@Stability(value=Stable) public CfnManagedPolicyProps build()
build
in interface software.amazon.jsii.Builder<CfnManagedPolicyProps>
CfnManagedPolicyProps
NullPointerException
- if any required attribute was not providedCopyright © 2021. All rights reserved.