Class CfnMetricPropsMixin.CreatedByInfoProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.connect.CfnMetricPropsMixin.CreatedByInfoProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMetricPropsMixin.CreatedByInfoProperty>
- Enclosing interface:
CfnMetricPropsMixin.CreatedByInfoProperty
@Stability(Stable)
public static final class CfnMetricPropsMixin.CreatedByInfoProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMetricPropsMixin.CreatedByInfoProperty>
A builder for
CfnMetricPropsMixin.CreatedByInfoProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionawsIdentityArn(String awsIdentityArn) Sets the value ofCfnMetricPropsMixin.CreatedByInfoProperty.getAwsIdentityArn()build()Builds the configured instance.connectUserArn(String connectUserArn) Sets the value ofCfnMetricPropsMixin.CreatedByInfoProperty.getConnectUserArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
awsIdentityArn
@Stability(Stable) public CfnMetricPropsMixin.CreatedByInfoProperty.Builder awsIdentityArn(String awsIdentityArn) Sets the value ofCfnMetricPropsMixin.CreatedByInfoProperty.getAwsIdentityArn()- Parameters:
awsIdentityArn- STS or IAM ARN representing the identity of API Caller. SDK users cannot populate this and this value is calculated automatically if ConnectUserArn is not provided.- Returns:
this
-
connectUserArn
@Stability(Stable) public CfnMetricPropsMixin.CreatedByInfoProperty.Builder connectUserArn(String connectUserArn) Sets the value ofCfnMetricPropsMixin.CreatedByInfoProperty.getConnectUserArn()- Parameters:
connectUserArn- An agent ARN representing a connect user.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMetricPropsMixin.CreatedByInfoProperty>- Returns:
- a new instance of
CfnMetricPropsMixin.CreatedByInfoProperty - Throws:
NullPointerException- if any required attribute was not provided
-