Class CfnAggregationAuthorizationMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.config.CfnAggregationAuthorizationMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAggregationAuthorizationMixinProps>
- Enclosing interface:
CfnAggregationAuthorizationMixinProps
@Stability(Stable)
public static final class CfnAggregationAuthorizationMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAggregationAuthorizationMixinProps>
A builder for
CfnAggregationAuthorizationMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthorizedAccountId(String authorizedAccountId) Sets the value ofCfnAggregationAuthorizationMixinProps.getAuthorizedAccountId()authorizedAwsRegion(String authorizedAwsRegion) Sets the value ofCfnAggregationAuthorizationMixinProps.getAuthorizedAwsRegion()build()Builds the configured instance.Sets the value ofCfnAggregationAuthorizationMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
authorizedAccountId
@Stability(Stable) public CfnAggregationAuthorizationMixinProps.Builder authorizedAccountId(String authorizedAccountId) Sets the value ofCfnAggregationAuthorizationMixinProps.getAuthorizedAccountId()- Parameters:
authorizedAccountId- The 12-digit account ID of the account authorized to aggregate data.- Returns:
this
-
authorizedAwsRegion
@Stability(Stable) public CfnAggregationAuthorizationMixinProps.Builder authorizedAwsRegion(String authorizedAwsRegion) Sets the value ofCfnAggregationAuthorizationMixinProps.getAuthorizedAwsRegion()- Parameters:
authorizedAwsRegion- The region authorized to collect aggregated data.- Returns:
this
-
tags
@Stability(Stable) public CfnAggregationAuthorizationMixinProps.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnAggregationAuthorizationMixinProps.getTags()- Parameters:
tags- An array of tag object.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAggregationAuthorizationMixinProps>- Returns:
- a new instance of
CfnAggregationAuthorizationMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-