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