Class CfnAgentStatusMixinProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.connect.mixins.CfnAgentStatusMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAgentStatusMixinProps>
- Enclosing interface:
CfnAgentStatusMixinProps
@Stability(Stable)
public static final class CfnAgentStatusMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAgentStatusMixinProps>
A builder for
CfnAgentStatusMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnAgentStatusMixinProps.getDescription()displayOrder(Number displayOrder) Sets the value ofCfnAgentStatusMixinProps.getDisplayOrder()instanceArn(String instanceArn) Sets the value ofCfnAgentStatusMixinProps.getInstanceArn()Sets the value ofCfnAgentStatusMixinProps.getName()resetOrderNumber(Boolean resetOrderNumber) Sets the value ofCfnAgentStatusMixinProps.getResetOrderNumber()resetOrderNumber(IResolvable resetOrderNumber) Sets the value ofCfnAgentStatusMixinProps.getResetOrderNumber()Sets the value ofCfnAgentStatusMixinProps.getState()Sets the value ofCfnAgentStatusMixinProps.getTags()Sets the value ofCfnAgentStatusMixinProps.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnAgentStatusMixinProps.getDescription()- Parameters:
description- The description of the agent status.- Returns:
this
-
displayOrder
Sets the value ofCfnAgentStatusMixinProps.getDisplayOrder()- Parameters:
displayOrder- The display order of the agent status.- Returns:
this
-
instanceArn
Sets the value ofCfnAgentStatusMixinProps.getInstanceArn()- Parameters:
instanceArn- The Amazon Resource Name (ARN) of the instance.- Returns:
this
-
name
Sets the value ofCfnAgentStatusMixinProps.getName()- Parameters:
name- The name of the agent status.- Returns:
this
-
resetOrderNumber
@Stability(Stable) public CfnAgentStatusMixinProps.Builder resetOrderNumber(Boolean resetOrderNumber) Sets the value ofCfnAgentStatusMixinProps.getResetOrderNumber()- Parameters:
resetOrderNumber- A number indicating the reset order of the agent status.- Returns:
this
-
resetOrderNumber
@Stability(Stable) public CfnAgentStatusMixinProps.Builder resetOrderNumber(IResolvable resetOrderNumber) Sets the value ofCfnAgentStatusMixinProps.getResetOrderNumber()- Parameters:
resetOrderNumber- A number indicating the reset order of the agent status.- Returns:
this
-
state
Sets the value ofCfnAgentStatusMixinProps.getState()- Parameters:
state- The state of the agent status.- Returns:
this
-
tags
Sets the value ofCfnAgentStatusMixinProps.getTags()- Parameters:
tags- The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.- Returns:
this
-
type
Sets the value ofCfnAgentStatusMixinProps.getType()- Parameters:
type- The type of agent status.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAgentStatusMixinProps>- Returns:
- a new instance of
CfnAgentStatusMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-