Class CfnDBCluster.DBClusterRoleProperty.Builder
java.lang.Object
software.amazon.awscdk.services.rds.CfnDBCluster.DBClusterRoleProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDBCluster.DBClusterRoleProperty>
- Enclosing interface:
- CfnDBCluster.DBClusterRoleProperty
@Stability(Stable)
public static final class CfnDBCluster.DBClusterRoleProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDBCluster.DBClusterRoleProperty>
A builder for
CfnDBCluster.DBClusterRoleProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.featureName
(String featureName) Sets the value ofCfnDBCluster.DBClusterRoleProperty.getFeatureName()
Sets the value ofCfnDBCluster.DBClusterRoleProperty.getRoleArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
roleArn
Sets the value ofCfnDBCluster.DBClusterRoleProperty.getRoleArn()
- Parameters:
roleArn
- The Amazon Resource Name (ARN) of the IAM role that is associated with the DB cluster. This parameter is required.- Returns:
this
-
featureName
@Stability(Stable) public CfnDBCluster.DBClusterRoleProperty.Builder featureName(String featureName) Sets the value ofCfnDBCluster.DBClusterRoleProperty.getFeatureName()
- Parameters:
featureName
- The name of the feature associated with the AWS Identity and Access Management (IAM) role. IAM roles that are associated with a DB cluster grant permission for the DB cluster to access other AWS services on your behalf. For the list of supported feature names, see theSupportedFeatureNames
description in DBEngineVersion in the Amazon RDS API Reference .- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDBCluster.DBClusterRoleProperty>
- Returns:
- a new instance of
CfnDBCluster.DBClusterRoleProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-