Struct aws_sdk_connect::model::agent_status::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for AgentStatus
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn agent_status_arn(self, input: impl Into<String>) -> Self
pub fn agent_status_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the agent status.
sourcepub fn set_agent_status_arn(self, input: Option<String>) -> Self
pub fn set_agent_status_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the agent status.
sourcepub fn agent_status_id(self, input: impl Into<String>) -> Self
pub fn agent_status_id(self, input: impl Into<String>) -> Self
The identifier of the agent status.
sourcepub fn set_agent_status_id(self, input: Option<String>) -> Self
pub fn set_agent_status_id(self, input: Option<String>) -> Self
The identifier of the agent status.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the agent status.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the agent status.
sourcepub fn type(self, input: AgentStatusType) -> Self
pub fn type(self, input: AgentStatusType) -> Self
The type of agent status.
sourcepub fn set_type(self, input: Option<AgentStatusType>) -> Self
pub fn set_type(self, input: Option<AgentStatusType>) -> Self
The type of agent status.
sourcepub fn display_order(self, input: i32) -> Self
pub fn display_order(self, input: i32) -> Self
The display order of the agent status.
sourcepub fn set_display_order(self, input: Option<i32>) -> Self
pub fn set_display_order(self, input: Option<i32>) -> Self
The display order of the agent status.
sourcepub fn state(self, input: AgentStatusState) -> Self
pub fn state(self, input: AgentStatusState) -> Self
The state of the agent status.
sourcepub fn set_state(self, input: Option<AgentStatusState>) -> Self
pub fn set_state(self, input: Option<AgentStatusState>) -> Self
The state of the agent status.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
sourcepub fn build(self) -> AgentStatus
pub fn build(self) -> AgentStatus
Consumes the builder and constructs a AgentStatus
.