public static final class AttachPolicyToRoleProps.Builder extends Object implements software.amazon.jsii.Builder<AttachPolicyToRoleProps>
AttachPolicyToRoleProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
AttachPolicyToRoleProps |
build()
Builds the configured instance.
|
AttachPolicyToRoleProps.Builder |
policyName(com.aliyun.ros.cdk.core.IResolvable policyName)
Sets the value of
AttachPolicyToRoleProps.getPolicyName() |
AttachPolicyToRoleProps.Builder |
policyName(String policyName)
Sets the value of
AttachPolicyToRoleProps.getPolicyName() |
AttachPolicyToRoleProps.Builder |
policyType(com.aliyun.ros.cdk.core.IResolvable policyType)
Sets the value of
AttachPolicyToRoleProps.getPolicyType() |
AttachPolicyToRoleProps.Builder |
policyType(String policyType)
Sets the value of
AttachPolicyToRoleProps.getPolicyType() |
AttachPolicyToRoleProps.Builder |
roleName(com.aliyun.ros.cdk.core.IResolvable roleName)
Sets the value of
AttachPolicyToRoleProps.getRoleName() |
AttachPolicyToRoleProps.Builder |
roleName(String roleName)
Sets the value of
AttachPolicyToRoleProps.getRoleName() |
public AttachPolicyToRoleProps.Builder policyName(String policyName)
AttachPolicyToRoleProps.getPolicyName()policyName - Property policyName: Authorization policy name. This parameter is required.thispublic AttachPolicyToRoleProps.Builder policyName(com.aliyun.ros.cdk.core.IResolvable policyName)
AttachPolicyToRoleProps.getPolicyName()policyName - Property policyName: Authorization policy name. This parameter is required.thispublic AttachPolicyToRoleProps.Builder policyType(String policyType)
AttachPolicyToRoleProps.getPolicyType()policyType - Property policyType: Authorization policy type. This parameter is required.
Value: "System" or "Custom".thispublic AttachPolicyToRoleProps.Builder policyType(com.aliyun.ros.cdk.core.IResolvable policyType)
AttachPolicyToRoleProps.getPolicyType()policyType - Property policyType: Authorization policy type. This parameter is required.
Value: "System" or "Custom".thispublic AttachPolicyToRoleProps.Builder roleName(String roleName)
AttachPolicyToRoleProps.getRoleName()roleName - Property roleName: Role name.Example: dev. This parameter is required.thispublic AttachPolicyToRoleProps.Builder roleName(com.aliyun.ros.cdk.core.IResolvable roleName)
AttachPolicyToRoleProps.getRoleName()roleName - Property roleName: Role name.Example: dev. This parameter is required.thispublic AttachPolicyToRoleProps build()
build in interface software.amazon.jsii.Builder<AttachPolicyToRoleProps>AttachPolicyToRolePropsNullPointerException - if any required attribute was not providedCopyright © 2023. All rights reserved.