Class CfnAccountMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.apigateway.CfnAccountMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAccountMixinProps>
- Enclosing interface:
CfnAccountMixinProps
@Stability(Stable)
public static final class CfnAccountMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAccountMixinProps>
A builder for
CfnAccountMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.cloudWatchRoleArn(String cloudWatchRoleArn) Sets the value ofCfnAccountMixinProps.getCloudWatchRoleArn()cloudWatchRoleArn(IRoleRef cloudWatchRoleArn) Sets the value ofCfnAccountMixinProps.getCloudWatchRoleArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cloudWatchRoleArn
Sets the value ofCfnAccountMixinProps.getCloudWatchRoleArn()- Parameters:
cloudWatchRoleArn- The ARN of an Amazon CloudWatch role for the current Account.- Returns:
this
-
cloudWatchRoleArn
@Stability(Stable) public CfnAccountMixinProps.Builder cloudWatchRoleArn(IRoleRef cloudWatchRoleArn) Sets the value ofCfnAccountMixinProps.getCloudWatchRoleArn()- Parameters:
cloudWatchRoleArn- The ARN of an Amazon CloudWatch role for the current Account.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAccountMixinProps>- Returns:
- a new instance of
CfnAccountMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-