Class AggregationAuthorizationReference.Builder
java.lang.Object
software.amazon.awscdk.services.config.AggregationAuthorizationReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AggregationAuthorizationReference>
- Enclosing interface:
AggregationAuthorizationReference
@Stability(Stable)
public static final class AggregationAuthorizationReference.Builder
extends Object
implements software.amazon.jsii.Builder<AggregationAuthorizationReference>
A builder for
AggregationAuthorizationReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaggregationAuthorizationArn
(String aggregationAuthorizationArn) Sets the value ofAggregationAuthorizationReference.getAggregationAuthorizationArn()
authorizedAccountId
(String authorizedAccountId) Sets the value ofAggregationAuthorizationReference.getAuthorizedAccountId()
authorizedAwsRegion
(String authorizedAwsRegion) Sets the value ofAggregationAuthorizationReference.getAuthorizedAwsRegion()
build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
aggregationAuthorizationArn
@Stability(Stable) public AggregationAuthorizationReference.Builder aggregationAuthorizationArn(String aggregationAuthorizationArn) Sets the value ofAggregationAuthorizationReference.getAggregationAuthorizationArn()
- Parameters:
aggregationAuthorizationArn
- The ARN of the AggregationAuthorization resource. This parameter is required.- Returns:
this
-
authorizedAccountId
@Stability(Stable) public AggregationAuthorizationReference.Builder authorizedAccountId(String authorizedAccountId) Sets the value ofAggregationAuthorizationReference.getAuthorizedAccountId()
- Parameters:
authorizedAccountId
- The AuthorizedAccountId of the AggregationAuthorization resource. This parameter is required.- Returns:
this
-
authorizedAwsRegion
@Stability(Stable) public AggregationAuthorizationReference.Builder authorizedAwsRegion(String authorizedAwsRegion) Sets the value ofAggregationAuthorizationReference.getAuthorizedAwsRegion()
- Parameters:
authorizedAwsRegion
- The AuthorizedAwsRegion of the AggregationAuthorization resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<AggregationAuthorizationReference>
- Returns:
- a new instance of
AggregationAuthorizationReference
- Throws:
NullPointerException
- if any required attribute was not provided
-