@Stability(value=Stable) public static final class CfnAssessment.RoleProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnAssessment.RoleProperty>
CfnAssessment.RoleProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnAssessment.RoleProperty |
build()
Builds the configured instance.
|
CfnAssessment.RoleProperty.Builder |
roleArn(String roleArn)
Sets the value of
CfnAssessment.RoleProperty.getRoleArn() |
CfnAssessment.RoleProperty.Builder |
roleType(String roleType)
Sets the value of
CfnAssessment.RoleProperty.getRoleType() |
@Stability(value=Stable) public CfnAssessment.RoleProperty.Builder roleArn(String roleArn)
CfnAssessment.RoleProperty.getRoleArn()roleArn - The Amazon Resource Name (ARN) of the IAM role.this@Stability(value=Stable) public CfnAssessment.RoleProperty.Builder roleType(String roleType)
CfnAssessment.RoleProperty.getRoleType()roleType - The type of customer persona.
In
CreateAssessment,roleTypecan only bePROCESS_OWNER.In
UpdateSettings,roleTypecan only bePROCESS_OWNER.In
BatchCreateDelegationByAssessment,roleTypecan only beRESOURCE_OWNER.
this@Stability(value=Stable) public CfnAssessment.RoleProperty build()
build in interface software.amazon.jsii.Builder<CfnAssessment.RoleProperty>CfnAssessment.RolePropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.