Class CfnDBClusterPropsMixin.DBClusterRoleProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.neptune.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 Amazon Identity and Access Management (IAM) role. For the list of supported feature names, see DescribeDBEngineVersions .- 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
-