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 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 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 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 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 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 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 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 build(self) -> Result<UpdateSlackChannelConfigurationInput, BuildError>
pub fn build(self) -> Result<UpdateSlackChannelConfigurationInput, BuildError>
Consumes the builder and constructs a UpdateSlackChannelConfigurationInput
.
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 ==
.