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