Class CfnAgentProfilePropsMixin.AggregationConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.wellarchitected.CfnAgentProfilePropsMixin.AggregationConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAgentProfilePropsMixin.AggregationConfigurationProperty>
- Enclosing interface:
CfnAgentProfilePropsMixin.AggregationConfigurationProperty
@Stability(Stable)
public static final class CfnAgentProfilePropsMixin.AggregationConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAgentProfilePropsMixin.AggregationConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccessRoleArn(String accessRoleArn) build()Builds the configured instance.Sets the value ofCfnAgentProfilePropsMixin.AggregationConfigurationProperty.getRegions()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accessRoleArn
@Stability(Stable) public CfnAgentProfilePropsMixin.AggregationConfigurationProperty.Builder accessRoleArn(String accessRoleArn) - Parameters:
accessRoleArn- The ARN of the IAM role used to access resources in this account.- Returns:
this
-
accountId
@Stability(Stable) public CfnAgentProfilePropsMixin.AggregationConfigurationProperty.Builder accountId(String accountId) - Parameters:
accountId- The target AWS account ID.- Returns:
this
-
regions
@Stability(Stable) public CfnAgentProfilePropsMixin.AggregationConfigurationProperty.Builder regions(List<String> regions) Sets the value ofCfnAgentProfilePropsMixin.AggregationConfigurationProperty.getRegions()- Parameters:
regions- The target regions in the account.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAgentProfilePropsMixin.AggregationConfigurationProperty>- Returns:
- a new instance of
CfnAgentProfilePropsMixin.AggregationConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-