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