Class CfnCloudVmCluster.IamRoleProperty.Builder
java.lang.Object
software.amazon.awscdk.services.odb.CfnCloudVmCluster.IamRoleProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCloudVmCluster.IamRoleProperty>
- Enclosing interface:
CfnCloudVmCluster.IamRoleProperty
@Stability(Stable)
public static final class CfnCloudVmCluster.IamRoleProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCloudVmCluster.IamRoleProperty>
A builder for
CfnCloudVmCluster.IamRoleProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionawsIntegration(String awsIntegration) Sets the value ofCfnCloudVmCluster.IamRoleProperty.getAwsIntegration()build()Builds the configured instance.iamRoleArn(String iamRoleArn) Sets the value ofCfnCloudVmCluster.IamRoleProperty.getIamRoleArn()Sets the value ofCfnCloudVmCluster.IamRoleProperty.getStatus()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
awsIntegration
@Stability(Stable) public CfnCloudVmCluster.IamRoleProperty.Builder awsIntegration(String awsIntegration) Sets the value ofCfnCloudVmCluster.IamRoleProperty.getAwsIntegration()- Parameters:
awsIntegration- The AWS integration configuration settings for the AWS Identity and Access Management (IAM) service role.- Returns:
this
-
iamRoleArn
Sets the value ofCfnCloudVmCluster.IamRoleProperty.getIamRoleArn()- Parameters:
iamRoleArn- The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) service role.- Returns:
this
-
status
Sets the value ofCfnCloudVmCluster.IamRoleProperty.getStatus()- Parameters:
status- The current status of the AWS Identity and Access Management (IAM) service role.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCloudVmCluster.IamRoleProperty>- Returns:
- a new instance of
CfnCloudVmCluster.IamRoleProperty - Throws:
NullPointerException- if any required attribute was not provided
-