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