Class CfnDBClusterPropsMixin.DBClusterRoleProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.rds.CfnDBClusterPropsMixin.DBClusterRoleProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDBClusterPropsMixin.DBClusterRoleProperty>
- Enclosing interface:
CfnDBClusterPropsMixin.DBClusterRoleProperty
@Stability(Stable)
public static final class CfnDBClusterPropsMixin.DBClusterRoleProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDBClusterPropsMixin.DBClusterRoleProperty>
A builder for
CfnDBClusterPropsMixin.DBClusterRoleProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.featureName(String featureName) Sets the value ofCfnDBClusterPropsMixin.DBClusterRoleProperty.getFeatureName()Sets the value ofCfnDBClusterPropsMixin.DBClusterRoleProperty.getRoleArn()Sets the value ofCfnDBClusterPropsMixin.DBClusterRoleProperty.getRoleArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
featureName
@Stability(Stable) public CfnDBClusterPropsMixin.DBClusterRoleProperty.Builder featureName(String featureName) Sets the value ofCfnDBClusterPropsMixin.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 theSupportedFeatureNamesdescription in DBEngineVersion in the Amazon RDS API Reference .- Returns:
this
-
roleArn
@Stability(Stable) public CfnDBClusterPropsMixin.DBClusterRoleProperty.Builder roleArn(String roleArn) Sets the value ofCfnDBClusterPropsMixin.DBClusterRoleProperty.getRoleArn()- Parameters:
roleArn- The Amazon Resource Name (ARN) of the IAM role that is associated with the DB cluster.- Returns:
this
-
roleArn
@Stability(Stable) public CfnDBClusterPropsMixin.DBClusterRoleProperty.Builder roleArn(IRoleRef roleArn) Sets the value ofCfnDBClusterPropsMixin.DBClusterRoleProperty.getRoleArn()- Parameters:
roleArn- The Amazon Resource Name (ARN) of the IAM role that is associated with the DB cluster.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDBClusterPropsMixin.DBClusterRoleProperty>- Returns:
- a new instance of
CfnDBClusterPropsMixin.DBClusterRoleProperty - Throws:
NullPointerException- if any required attribute was not provided
-