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 ==.impl StructuralPartialEq for ConfiguredTeamBuilder
Auto Trait Implementations§
impl Freeze for ConfiguredTeamBuilder
impl RefUnwindSafe for ConfiguredTeamBuilder
impl Send for ConfiguredTeamBuilder
impl Sync for ConfiguredTeamBuilder
impl Unpin for ConfiguredTeamBuilder
impl UnwindSafe for ConfiguredTeamBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more