Class CfnAgentStatusProps.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnAgentStatusProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAgentStatusProps>
- Enclosing interface:
CfnAgentStatusProps
@Stability(Stable)
public static final class CfnAgentStatusProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAgentStatusProps>
A builder for
CfnAgentStatusProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnAgentStatusProps.getDescription()displayOrder(Number displayOrder) Sets the value ofCfnAgentStatusProps.getDisplayOrder()instanceArn(String instanceArn) Sets the value ofCfnAgentStatusProps.getInstanceArn()Sets the value ofCfnAgentStatusProps.getName()resetOrderNumber(Boolean resetOrderNumber) Sets the value ofCfnAgentStatusProps.getResetOrderNumber()resetOrderNumber(IResolvable resetOrderNumber) Sets the value ofCfnAgentStatusProps.getResetOrderNumber()Sets the value ofCfnAgentStatusProps.getState()Sets the value ofCfnAgentStatusProps.getTags()Sets the value ofCfnAgentStatusProps.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
instanceArn
Sets the value ofCfnAgentStatusProps.getInstanceArn()- Parameters:
instanceArn- The Amazon Resource Name (ARN) of the instance. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnAgentStatusProps.getName()- Parameters:
name- The name of the agent status. This parameter is required.- Returns:
this
-
state
Sets the value ofCfnAgentStatusProps.getState()- Parameters:
state- The state of the agent status. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnAgentStatusProps.getDescription()- Parameters:
description- The description of the agent status.- Returns:
this
-
displayOrder
Sets the value ofCfnAgentStatusProps.getDisplayOrder()- Parameters:
displayOrder- The display order of the agent status.- Returns:
this
-
resetOrderNumber
Sets the value ofCfnAgentStatusProps.getResetOrderNumber()- Parameters:
resetOrderNumber- A number indicating the reset order of the agent status.- Returns:
this
-
resetOrderNumber
@Stability(Stable) public CfnAgentStatusProps.Builder resetOrderNumber(IResolvable resetOrderNumber) Sets the value ofCfnAgentStatusProps.getResetOrderNumber()- Parameters:
resetOrderNumber- A number indicating the reset order of the agent status.- Returns:
this
-
tags
Sets the value ofCfnAgentStatusProps.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 ofCfnAgentStatusProps.getType()- Parameters:
type- The type of agent status.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAgentStatusProps>- Returns:
- a new instance of
CfnAgentStatusProps - Throws:
NullPointerException- if any required attribute was not provided
-