Struct aws_sdk_chatbot::types::builders::ConfiguredTeamBuilder
source · #[non_exhaustive]pub struct ConfiguredTeamBuilder { /* private fields */ }
Expand description
A builder for ConfiguredTeam
.
Implementations§
source§impl ConfiguredTeamBuilder
impl ConfiguredTeamBuilder
sourcepub fn tenant_id(self, input: impl Into<String>) -> Self
pub fn tenant_id(self, input: impl Into<String>) -> Self
The ID of the Microsoft Teams tenant. This field is required.
sourcepub fn set_tenant_id(self, input: Option<String>) -> Self
pub fn set_tenant_id(self, input: Option<String>) -> Self
The ID of the Microsoft Teams tenant.
sourcepub fn get_tenant_id(&self) -> &Option<String>
pub fn get_tenant_id(&self) -> &Option<String>
The ID of the Microsoft Teams tenant.
sourcepub fn team_id(self, input: impl Into<String>) -> Self
pub fn team_id(self, input: impl Into<String>) -> Self
The ID of the Microsoft Team authorized with AWS Chatbot. To get the team ID, you must perform the initial authorization flow with Microsoft Teams in the AWS Chatbot console. Then you can copy and paste the team ID from the console. For more details, see steps 1-4 in Get started with Microsoft Teams in the AWS Chatbot Administrator Guide. This field is required.
sourcepub fn set_team_id(self, input: Option<String>) -> Self
pub fn set_team_id(self, input: Option<String>) -> Self
The ID of the Microsoft Team authorized with AWS Chatbot. To get the team ID, you must perform the initial authorization flow with Microsoft Teams in the AWS Chatbot console. Then you can copy and paste the team ID from the console. For more details, see steps 1-4 in Get started with Microsoft Teams in the AWS Chatbot Administrator Guide.
sourcepub fn get_team_id(&self) -> &Option<String>
pub fn get_team_id(&self) -> &Option<String>
The ID of the Microsoft Team authorized with AWS Chatbot. To get the team ID, you must perform the initial authorization flow with Microsoft Teams in the AWS Chatbot console. Then you can copy and paste the team ID from the console. For more details, see steps 1-4 in Get started with Microsoft Teams in the AWS Chatbot Administrator Guide.
sourcepub fn set_team_name(self, input: Option<String>) -> Self
pub fn set_team_name(self, input: Option<String>) -> Self
The name of the Microsoft Teams Team.
sourcepub fn get_team_name(&self) -> &Option<String>
pub fn get_team_name(&self) -> &Option<String>
The name of the Microsoft Teams Team.
sourcepub fn build(self) -> Result<ConfiguredTeam, BuildError>
pub fn build(self) -> Result<ConfiguredTeam, BuildError>
Consumes the builder and constructs a ConfiguredTeam
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ConfiguredTeamBuilder
impl Clone for ConfiguredTeamBuilder
source§fn clone(&self) -> ConfiguredTeamBuilder
fn clone(&self) -> ConfiguredTeamBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ConfiguredTeamBuilder
impl Debug for ConfiguredTeamBuilder
source§impl Default for ConfiguredTeamBuilder
impl Default for ConfiguredTeamBuilder
source§fn default() -> ConfiguredTeamBuilder
fn default() -> ConfiguredTeamBuilder
source§impl PartialEq for ConfiguredTeamBuilder
impl PartialEq for ConfiguredTeamBuilder
source§fn eq(&self, other: &ConfiguredTeamBuilder) -> bool
fn eq(&self, other: &ConfiguredTeamBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.