public static final class CfnAggregationAuthorizationProps.Builder
extends java.lang.Object
CfnAggregationAuthorizationProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnAggregationAuthorizationProps.Builder |
authorizedAccountId(java.lang.String authorizedAccountId)
Sets the value of
CfnAggregationAuthorizationProps.getAuthorizedAccountId() |
CfnAggregationAuthorizationProps.Builder |
authorizedAwsRegion(java.lang.String authorizedAwsRegion)
Sets the value of
CfnAggregationAuthorizationProps.getAuthorizedAwsRegion() |
CfnAggregationAuthorizationProps |
build()
Builds the configured instance.
|
CfnAggregationAuthorizationProps.Builder |
tags(java.util.List<? extends CfnTag> tags)
Sets the value of
CfnAggregationAuthorizationProps.getTags() |
public CfnAggregationAuthorizationProps.Builder authorizedAccountId(java.lang.String authorizedAccountId)
CfnAggregationAuthorizationProps.getAuthorizedAccountId()
authorizedAccountId
- The 12-digit account ID of the account authorized to aggregate data. This parameter is required.this
public CfnAggregationAuthorizationProps.Builder authorizedAwsRegion(java.lang.String authorizedAwsRegion)
CfnAggregationAuthorizationProps.getAuthorizedAwsRegion()
authorizedAwsRegion
- The region authorized to collect aggregated data. This parameter is required.this
public CfnAggregationAuthorizationProps.Builder tags(java.util.List<? extends CfnTag> tags)
CfnAggregationAuthorizationProps.getTags()
tags
- An array of tag object.this
public CfnAggregationAuthorizationProps build()
CfnAggregationAuthorizationProps
java.lang.NullPointerException
- if any required attribute was not provided