public static final class CfnDBCluster.DBClusterRoleProperty.Builder
extends java.lang.Object
CfnDBCluster.DBClusterRoleProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnDBCluster.DBClusterRoleProperty |
build()
Builds the configured instance.
|
CfnDBCluster.DBClusterRoleProperty.Builder |
featureName(java.lang.String featureName)
Sets the value of
CfnDBCluster.DBClusterRoleProperty.getFeatureName() |
CfnDBCluster.DBClusterRoleProperty.Builder |
roleArn(java.lang.String roleArn)
Sets the value of
CfnDBCluster.DBClusterRoleProperty.getRoleArn() |
public CfnDBCluster.DBClusterRoleProperty.Builder roleArn(java.lang.String roleArn)
CfnDBCluster.DBClusterRoleProperty.getRoleArn()
roleArn
- The Amazon Resource Name (ARN) of the IAM role that is associated with the DB cluster. This parameter is required.this
public CfnDBCluster.DBClusterRoleProperty.Builder featureName(java.lang.String featureName)
CfnDBCluster.DBClusterRoleProperty.getFeatureName()
featureName
- The name of the feature associated with the Amazon Identity and Access Management (IAM) role.
For the list of supported feature names, see DescribeDBEngineVersions .this
public CfnDBCluster.DBClusterRoleProperty build()
CfnDBCluster.DBClusterRoleProperty
java.lang.NullPointerException
- if any required attribute was not provided