Class CfnEndpointPropsMixin.DynamoDbSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.dms.CfnEndpointPropsMixin.DynamoDbSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEndpointPropsMixin.DynamoDbSettingsProperty>
- Enclosing interface:
CfnEndpointPropsMixin.DynamoDbSettingsProperty
@Stability(Stable)
public static final class CfnEndpointPropsMixin.DynamoDbSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEndpointPropsMixin.DynamoDbSettingsProperty>
A builder for
CfnEndpointPropsMixin.DynamoDbSettingsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.serviceAccessRoleArn(String serviceAccessRoleArn) Sets the value ofCfnEndpointPropsMixin.DynamoDbSettingsProperty.getServiceAccessRoleArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
serviceAccessRoleArn
@Stability(Stable) public CfnEndpointPropsMixin.DynamoDbSettingsProperty.Builder serviceAccessRoleArn(String serviceAccessRoleArn) Sets the value ofCfnEndpointPropsMixin.DynamoDbSettingsProperty.getServiceAccessRoleArn()- Parameters:
serviceAccessRoleArn- The Amazon Resource Name (ARN) used by the service to access the IAM role. The role must allow theiam:PassRoleaction.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEndpointPropsMixin.DynamoDbSettingsProperty>- Returns:
- a new instance of
CfnEndpointPropsMixin.DynamoDbSettingsProperty - Throws:
NullPointerException- if any required attribute was not provided
-