Struct aws_sdk_supportapp::operation::create_slack_channel_configuration::builders::CreateSlackChannelConfigurationInputBuilder
source · #[non_exhaustive]pub struct CreateSlackChannelConfigurationInputBuilder { /* private fields */ }
Expand description
A builder for CreateSlackChannelConfigurationInput
.
Implementations§
source§impl CreateSlackChannelConfigurationInputBuilder
impl CreateSlackChannelConfigurationInputBuilder
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 name of the Slack channel that you configure for the Amazon Web Services Support App.
sourcepub fn set_channel_name(self, input: Option<String>) -> Self
pub fn set_channel_name(self, input: Option<String>) -> Self
The name of the Slack channel that you configure for the Amazon Web Services Support App.
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
, you must specify true
for at least one of the following parameters:
-
notifyOnAddCorrespondenceToCase
-
notifyOnCreateOrReopenCase
-
notifyOnResolveCase
If you specify none
, the following parameters must be null or false
:
-
notifyOnAddCorrespondenceToCase
-
notifyOnCreateOrReopenCase
-
notifyOnResolveCase
If you don't specify these parameters in your request, they default to false
.
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
, you must specify true
for at least one of the following parameters:
-
notifyOnAddCorrespondenceToCase
-
notifyOnCreateOrReopenCase
-
notifyOnResolveCase
If you specify none
, the following parameters must be null or false
:
-
notifyOnAddCorrespondenceToCase
-
notifyOnCreateOrReopenCase
-
notifyOnResolveCase
If you don't specify these parameters in your request, they default to false
.
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<CreateSlackChannelConfigurationInput, BuildError>
pub fn build(self) -> Result<CreateSlackChannelConfigurationInput, BuildError>
Consumes the builder and constructs a CreateSlackChannelConfigurationInput
.
Trait Implementations§
source§impl Clone for CreateSlackChannelConfigurationInputBuilder
impl Clone for CreateSlackChannelConfigurationInputBuilder
source§fn clone(&self) -> CreateSlackChannelConfigurationInputBuilder
fn clone(&self) -> CreateSlackChannelConfigurationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateSlackChannelConfigurationInputBuilder
impl Default for CreateSlackChannelConfigurationInputBuilder
source§fn default() -> CreateSlackChannelConfigurationInputBuilder
fn default() -> CreateSlackChannelConfigurationInputBuilder
source§impl PartialEq<CreateSlackChannelConfigurationInputBuilder> for CreateSlackChannelConfigurationInputBuilder
impl PartialEq<CreateSlackChannelConfigurationInputBuilder> for CreateSlackChannelConfigurationInputBuilder
source§fn eq(&self, other: &CreateSlackChannelConfigurationInputBuilder) -> bool
fn eq(&self, other: &CreateSlackChannelConfigurationInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.