Class CfnAggregationAuthorization.Builder
java.lang.Object
software.amazon.awscdk.services.config.CfnAggregationAuthorization.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAggregationAuthorization>
- Enclosing class:
CfnAggregationAuthorization
@Stability(Stable)
public static final class CfnAggregationAuthorization.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAggregationAuthorization>
A fluent builder for
CfnAggregationAuthorization
.-
Method Summary
Modifier and TypeMethodDescriptionauthorizedAccountId
(String authorizedAccountId) The 12-digit account ID of the account authorized to aggregate data.authorizedAwsRegion
(String authorizedAwsRegion) The region authorized to collect aggregated data.build()
An array of tag object.
-
Method Details
-
create
@Stability(Stable) public static CfnAggregationAuthorization.Builder create(Construct scope, String id) - Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnAggregationAuthorization.Builder
.
-
authorizedAccountId
@Stability(Stable) public CfnAggregationAuthorization.Builder authorizedAccountId(String authorizedAccountId) The 12-digit account ID of the account authorized to aggregate data.- Parameters:
authorizedAccountId
- The 12-digit account ID of the account authorized to aggregate data. This parameter is required.- Returns:
this
-
authorizedAwsRegion
@Stability(Stable) public CfnAggregationAuthorization.Builder authorizedAwsRegion(String authorizedAwsRegion) The region authorized to collect aggregated data.- Parameters:
authorizedAwsRegion
- The region authorized to collect aggregated data. This parameter is required.- Returns:
this
-
tags
An array of tag object.- Parameters:
tags
- An array of tag object. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAggregationAuthorization>
- Returns:
- a newly built instance of
CfnAggregationAuthorization
.
-