Struct aws_sdk_connect::types::builders::AgentStatusBuilder
source · #[non_exhaustive]pub struct AgentStatusBuilder { /* private fields */ }
Expand description
A builder for AgentStatus
.
Implementations§
source§impl AgentStatusBuilder
impl AgentStatusBuilder
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 get_agent_status_arn(&self) -> &Option<String>
pub fn get_agent_status_arn(&self) -> &Option<String>
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 get_agent_status_id(&self) -> &Option<String>
pub fn get_agent_status_id(&self) -> &Option<String>
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 get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
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 get_type(&self) -> &Option<AgentStatusType>
pub fn get_type(&self) -> &Option<AgentStatusType>
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 get_display_order(&self) -> &Option<i32>
pub fn get_display_order(&self) -> &Option<i32>
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.
sourcepub fn get_state(&self) -> &Option<AgentStatusState>
pub fn get_state(&self) -> &Option<AgentStatusState>
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"} }.
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
sourcepub fn last_modified_time(self, input: DateTime) -> Self
pub fn last_modified_time(self, input: DateTime) -> Self
The timestamp when this resource was last modified.
sourcepub fn set_last_modified_time(self, input: Option<DateTime>) -> Self
pub fn set_last_modified_time(self, input: Option<DateTime>) -> Self
The timestamp when this resource was last modified.
sourcepub fn get_last_modified_time(&self) -> &Option<DateTime>
pub fn get_last_modified_time(&self) -> &Option<DateTime>
The timestamp when this resource was last modified.
sourcepub fn last_modified_region(self, input: impl Into<String>) -> Self
pub fn last_modified_region(self, input: impl Into<String>) -> Self
The Amazon Web Services Region where this resource was last modified.
sourcepub fn set_last_modified_region(self, input: Option<String>) -> Self
pub fn set_last_modified_region(self, input: Option<String>) -> Self
The Amazon Web Services Region where this resource was last modified.
sourcepub fn get_last_modified_region(&self) -> &Option<String>
pub fn get_last_modified_region(&self) -> &Option<String>
The Amazon Web Services Region where this resource was last modified.
sourcepub fn build(self) -> AgentStatus
pub fn build(self) -> AgentStatus
Consumes the builder and constructs a AgentStatus
.
Trait Implementations§
source§impl Clone for AgentStatusBuilder
impl Clone for AgentStatusBuilder
source§fn clone(&self) -> AgentStatusBuilder
fn clone(&self) -> AgentStatusBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AgentStatusBuilder
impl Debug for AgentStatusBuilder
source§impl Default for AgentStatusBuilder
impl Default for AgentStatusBuilder
source§fn default() -> AgentStatusBuilder
fn default() -> AgentStatusBuilder
source§impl PartialEq for AgentStatusBuilder
impl PartialEq for AgentStatusBuilder
source§fn eq(&self, other: &AgentStatusBuilder) -> bool
fn eq(&self, other: &AgentStatusBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.