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