Interface CreateSlackChannelConfigurationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateSlackChannelConfigurationRequest.Builder,
,CreateSlackChannelConfigurationRequest> SdkBuilder<CreateSlackChannelConfigurationRequest.Builder,
,CreateSlackChannelConfigurationRequest> SdkPojo
,SdkRequest.Builder
,SupportAppRequest.Builder
- Enclosing class:
CreateSlackChannelConfigurationRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe channel ID in Slack.channelName
(String channelName) The name of the Slack channel that you configure for the Amazon Web Services Support App.channelRoleArn
(String channelRoleArn) The Amazon Resource Name (ARN) of an IAM role that you want to use to perform operations on Amazon Web Services.notifyOnAddCorrespondenceToCase
(Boolean notifyOnAddCorrespondenceToCase) Whether you want to get notified when a support case has a new correspondence.notifyOnCaseSeverity
(String notifyOnCaseSeverity) The case severity for a support case that you want to receive notifications.notifyOnCaseSeverity
(NotificationSeverityLevel notifyOnCaseSeverity) The case severity for a support case that you want to receive notifications.notifyOnCreateOrReopenCase
(Boolean notifyOnCreateOrReopenCase) Whether you want to get notified when a support case is created or reopened.notifyOnResolveCase
(Boolean notifyOnResolveCase) Whether you want to get notified when a support case is resolved.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The team ID in Slack.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.services.supportapp.model.SupportAppRequest.Builder
build
-
Method Details
-
channelId
The channel ID in Slack. This ID identifies a channel within a Slack workspace.
- Parameters:
channelId
- The channel ID in Slack. This ID identifies a channel within a Slack workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelName
The name of the Slack channel that you configure for the Amazon Web Services Support App.
- Parameters:
channelName
- The name of the Slack channel that you configure for the Amazon Web Services Support App.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelRoleArn
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.
- Parameters:
channelRoleArn
- 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notifyOnAddCorrespondenceToCase
CreateSlackChannelConfigurationRequest.Builder notifyOnAddCorrespondenceToCase(Boolean notifyOnAddCorrespondenceToCase) Whether you want to get notified when a support case has a new correspondence.
- Parameters:
notifyOnAddCorrespondenceToCase
- Whether you want to get notified when a support case has a new correspondence.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notifyOnCaseSeverity
The case severity for a support case that you want to receive notifications.
If you specify
high
orall
, you must specifytrue
for at least one of the following parameters:-
notifyOnAddCorrespondenceToCase
-
notifyOnCreateOrReopenCase
-
notifyOnResolveCase
If you specify
none
, the following parameters must be null orfalse
:-
notifyOnAddCorrespondenceToCase
-
notifyOnCreateOrReopenCase
-
notifyOnResolveCase
If you don't specify these parameters in your request, they default to
false
.- Parameters:
notifyOnCaseSeverity
- The case severity for a support case that you want to receive notifications.If you specify
high
orall
, you must specifytrue
for at least one of the following parameters:-
notifyOnAddCorrespondenceToCase
-
notifyOnCreateOrReopenCase
-
notifyOnResolveCase
If you specify
none
, the following parameters must be null orfalse
:-
notifyOnAddCorrespondenceToCase
-
notifyOnCreateOrReopenCase
-
notifyOnResolveCase
If you don't specify these parameters in your request, they default to
false
.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
notifyOnCaseSeverity
CreateSlackChannelConfigurationRequest.Builder notifyOnCaseSeverity(NotificationSeverityLevel notifyOnCaseSeverity) The case severity for a support case that you want to receive notifications.
If you specify
high
orall
, you must specifytrue
for at least one of the following parameters:-
notifyOnAddCorrespondenceToCase
-
notifyOnCreateOrReopenCase
-
notifyOnResolveCase
If you specify
none
, the following parameters must be null orfalse
:-
notifyOnAddCorrespondenceToCase
-
notifyOnCreateOrReopenCase
-
notifyOnResolveCase
If you don't specify these parameters in your request, they default to
false
.- Parameters:
notifyOnCaseSeverity
- The case severity for a support case that you want to receive notifications.If you specify
high
orall
, you must specifytrue
for at least one of the following parameters:-
notifyOnAddCorrespondenceToCase
-
notifyOnCreateOrReopenCase
-
notifyOnResolveCase
If you specify
none
, the following parameters must be null orfalse
:-
notifyOnAddCorrespondenceToCase
-
notifyOnCreateOrReopenCase
-
notifyOnResolveCase
If you don't specify these parameters in your request, they default to
false
.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
notifyOnCreateOrReopenCase
CreateSlackChannelConfigurationRequest.Builder notifyOnCreateOrReopenCase(Boolean notifyOnCreateOrReopenCase) Whether you want to get notified when a support case is created or reopened.
- Parameters:
notifyOnCreateOrReopenCase
- Whether you want to get notified when a support case is created or reopened.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notifyOnResolveCase
Whether you want to get notified when a support case is resolved.
- Parameters:
notifyOnResolveCase
- Whether you want to get notified when a support case is resolved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
teamId
The team ID in Slack. This ID uniquely identifies a Slack workspace, such as
T012ABCDEFG
.- Parameters:
teamId
- The team ID in Slack. This ID uniquely identifies a Slack workspace, such asT012ABCDEFG
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateSlackChannelConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateSlackChannelConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-