Struct aws_sdk_supportapp::operation::update_slack_channel_configuration::builders::UpdateSlackChannelConfigurationInputBuilder
source · #[non_exhaustive]pub struct UpdateSlackChannelConfigurationInputBuilder { /* private fields */ }
Expand description
A builder for UpdateSlackChannelConfigurationInput
.
Implementations§
source§impl UpdateSlackChannelConfigurationInputBuilder
impl UpdateSlackChannelConfigurationInputBuilder
sourcepub fn team_id(self, input: impl Into<String>) -> Self
pub fn team_id(self, input: impl Into<String>) -> Self
The team ID in Slack. This ID uniquely identifies a Slack workspace, such as T012ABCDEFG
.
sourcepub fn set_team_id(self, input: Option<String>) -> Self
pub fn set_team_id(self, input: Option<String>) -> Self
The team ID in Slack. This ID uniquely identifies a Slack workspace, such as T012ABCDEFG
.
sourcepub fn get_team_id(&self) -> &Option<String>
pub fn get_team_id(&self) -> &Option<String>
The team ID in Slack. This ID uniquely identifies a Slack workspace, such as T012ABCDEFG
.
sourcepub fn channel_id(self, input: impl Into<String>) -> Self
pub fn channel_id(self, input: impl Into<String>) -> Self
The channel ID in Slack. This ID identifies a channel within a Slack workspace.
sourcepub fn set_channel_id(self, input: Option<String>) -> Self
pub fn set_channel_id(self, input: Option<String>) -> Self
The channel ID in Slack. This ID identifies a channel within a Slack workspace.
sourcepub fn get_channel_id(&self) -> &Option<String>
pub fn get_channel_id(&self) -> &Option<String>
The channel ID in Slack. This ID identifies a channel within a Slack workspace.
sourcepub fn channel_name(self, input: impl Into<String>) -> Self
pub fn channel_name(self, input: impl Into<String>) -> Self
The Slack channel name that you want to update.
sourcepub fn set_channel_name(self, input: Option<String>) -> Self
pub fn set_channel_name(self, input: Option<String>) -> Self
The Slack channel name that you want to update.
sourcepub fn get_channel_name(&self) -> &Option<String>
pub fn get_channel_name(&self) -> &Option<String>
The Slack channel name that you want to update.
sourcepub fn notify_on_create_or_reopen_case(self, input: bool) -> Self
pub fn notify_on_create_or_reopen_case(self, input: bool) -> Self
Whether you want to get notified when a support case is created or reopened.
sourcepub fn set_notify_on_create_or_reopen_case(self, input: Option<bool>) -> Self
pub fn set_notify_on_create_or_reopen_case(self, input: Option<bool>) -> Self
Whether you want to get notified when a support case is created or reopened.
sourcepub fn get_notify_on_create_or_reopen_case(&self) -> &Option<bool>
pub fn get_notify_on_create_or_reopen_case(&self) -> &Option<bool>
Whether you want to get notified when a support case is created or reopened.
sourcepub fn notify_on_add_correspondence_to_case(self, input: bool) -> Self
pub fn notify_on_add_correspondence_to_case(self, input: bool) -> Self
Whether you want to get notified when a support case has a new correspondence.
sourcepub fn set_notify_on_add_correspondence_to_case(
self,
input: Option<bool>
) -> Self
pub fn set_notify_on_add_correspondence_to_case( self, input: Option<bool> ) -> Self
Whether you want to get notified when a support case has a new correspondence.
sourcepub fn get_notify_on_add_correspondence_to_case(&self) -> &Option<bool>
pub fn get_notify_on_add_correspondence_to_case(&self) -> &Option<bool>
Whether you want to get notified when a support case has a new correspondence.
sourcepub fn notify_on_resolve_case(self, input: bool) -> Self
pub fn notify_on_resolve_case(self, input: bool) -> Self
Whether you want to get notified when a support case is resolved.
sourcepub fn set_notify_on_resolve_case(self, input: Option<bool>) -> Self
pub fn set_notify_on_resolve_case(self, input: Option<bool>) -> Self
Whether you want to get notified when a support case is resolved.
sourcepub fn get_notify_on_resolve_case(&self) -> &Option<bool>
pub fn get_notify_on_resolve_case(&self) -> &Option<bool>
Whether you want to get notified when a support case is resolved.
sourcepub fn notify_on_case_severity(self, input: NotificationSeverityLevel) -> Self
pub fn notify_on_case_severity(self, input: NotificationSeverityLevel) -> Self
The case severity for a support case that you want to receive notifications.
If you specify high
or all
, at least one of the following parameters must be true
:
-
notifyOnAddCorrespondenceToCase
-
notifyOnCreateOrReopenCase
-
notifyOnResolveCase
If you specify none
, any of the following parameters that you specify in your request must be false
:
-
notifyOnAddCorrespondenceToCase
-
notifyOnCreateOrReopenCase
-
notifyOnResolveCase
If you don't specify these parameters in your request, the Amazon Web Services Support App uses the current values by default.
sourcepub fn set_notify_on_case_severity(
self,
input: Option<NotificationSeverityLevel>
) -> Self
pub fn set_notify_on_case_severity( self, input: Option<NotificationSeverityLevel> ) -> Self
The case severity for a support case that you want to receive notifications.
If you specify high
or all
, at least one of the following parameters must be true
:
-
notifyOnAddCorrespondenceToCase
-
notifyOnCreateOrReopenCase
-
notifyOnResolveCase
If you specify none
, any of the following parameters that you specify in your request must be false
:
-
notifyOnAddCorrespondenceToCase
-
notifyOnCreateOrReopenCase
-
notifyOnResolveCase
If you don't specify these parameters in your request, the Amazon Web Services Support App uses the current values by default.
sourcepub fn get_notify_on_case_severity(&self) -> &Option<NotificationSeverityLevel>
pub fn get_notify_on_case_severity(&self) -> &Option<NotificationSeverityLevel>
The case severity for a support case that you want to receive notifications.
If you specify high
or all
, at least one of the following parameters must be true
:
-
notifyOnAddCorrespondenceToCase
-
notifyOnCreateOrReopenCase
-
notifyOnResolveCase
If you specify none
, any of the following parameters that you specify in your request must be false
:
-
notifyOnAddCorrespondenceToCase
-
notifyOnCreateOrReopenCase
-
notifyOnResolveCase
If you don't specify these parameters in your request, the Amazon Web Services Support App uses the current values by default.
sourcepub fn channel_role_arn(self, input: impl Into<String>) -> Self
pub fn channel_role_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of an IAM role that you want to use to perform operations on Amazon Web Services. For more information, see Managing access to the Amazon Web Services Support App in the Amazon Web Services Support User Guide.
sourcepub fn set_channel_role_arn(self, input: Option<String>) -> Self
pub fn set_channel_role_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of an IAM role that you want to use to perform operations on Amazon Web Services. For more information, see Managing access to the Amazon Web Services Support App in the Amazon Web Services Support User Guide.
sourcepub fn get_channel_role_arn(&self) -> &Option<String>
pub fn get_channel_role_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of an IAM role that you want to use to perform operations on Amazon Web Services. For more information, see Managing access to the Amazon Web Services Support App in the Amazon Web Services Support User Guide.
sourcepub fn build(self) -> Result<UpdateSlackChannelConfigurationInput, BuildError>
pub fn build(self) -> Result<UpdateSlackChannelConfigurationInput, BuildError>
Consumes the builder and constructs a UpdateSlackChannelConfigurationInput
.
source§impl UpdateSlackChannelConfigurationInputBuilder
impl UpdateSlackChannelConfigurationInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateSlackChannelConfigurationOutput, SdkError<UpdateSlackChannelConfigurationError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateSlackChannelConfigurationOutput, SdkError<UpdateSlackChannelConfigurationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateSlackChannelConfigurationInputBuilder
impl Clone for UpdateSlackChannelConfigurationInputBuilder
source§fn clone(&self) -> UpdateSlackChannelConfigurationInputBuilder
fn clone(&self) -> UpdateSlackChannelConfigurationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateSlackChannelConfigurationInputBuilder
impl Default for UpdateSlackChannelConfigurationInputBuilder
source§fn default() -> UpdateSlackChannelConfigurationInputBuilder
fn default() -> UpdateSlackChannelConfigurationInputBuilder
source§impl PartialEq<UpdateSlackChannelConfigurationInputBuilder> for UpdateSlackChannelConfigurationInputBuilder
impl PartialEq<UpdateSlackChannelConfigurationInputBuilder> for UpdateSlackChannelConfigurationInputBuilder
source§fn eq(&self, other: &UpdateSlackChannelConfigurationInputBuilder) -> bool
fn eq(&self, other: &UpdateSlackChannelConfigurationInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.