Class CreateSlackChannelConfigurationRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.supportapp.model.SupportAppRequest
-
- software.amazon.awssdk.services.supportapp.model.CreateSlackChannelConfigurationRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CreateSlackChannelConfigurationRequest.Builder,CreateSlackChannelConfigurationRequest>
@Generated("software.amazon.awssdk:codegen") public final class CreateSlackChannelConfigurationRequest extends SupportAppRequest implements ToCopyableBuilder<CreateSlackChannelConfigurationRequest.Builder,CreateSlackChannelConfigurationRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCreateSlackChannelConfigurationRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateSlackChannelConfigurationRequest.Builderbuilder()StringchannelId()The channel ID in Slack.StringchannelName()The name of the Slack channel that you configure for the Amazon Web Services Support App.StringchannelRoleArn()The Amazon Resource Name (ARN) of an IAM role that you want to use to perform operations on Amazon Web Services.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()BooleannotifyOnAddCorrespondenceToCase()Whether you want to get notified when a support case has a new correspondence.NotificationSeverityLevelnotifyOnCaseSeverity()The case severity for a support case that you want to receive notifications.StringnotifyOnCaseSeverityAsString()The case severity for a support case that you want to receive notifications.BooleannotifyOnCreateOrReopenCase()Whether you want to get notified when a support case is created or reopened.BooleannotifyOnResolveCase()Whether you want to get notified when a support case is resolved.List<SdkField<?>>sdkFields()static Class<? extends CreateSlackChannelConfigurationRequest.Builder>serializableBuilderClass()StringteamId()The team ID in Slack.CreateSlackChannelConfigurationRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
channelId
public final String channelId()
The channel ID in Slack. This ID identifies a channel within a Slack workspace.
- Returns:
- The channel ID in Slack. This ID identifies a channel within a Slack workspace.
-
channelName
public final String channelName()
The name of the Slack channel that you configure for the Amazon Web Services Support App.
- Returns:
- The name of the Slack channel that you configure for the Amazon Web Services Support App.
-
channelRoleArn
public final String 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:
- 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.
-
notifyOnAddCorrespondenceToCase
public final Boolean notifyOnAddCorrespondenceToCase()
Whether you want to get notified when a support case has a new correspondence.
- Returns:
- Whether you want to get notified when a support case has a new correspondence.
-
notifyOnCaseSeverity
public final NotificationSeverityLevel notifyOnCaseSeverity()
The case severity for a support case that you want to receive notifications.
If you specify
highorall, you must specifytruefor 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.If the service returns an enum value that is not available in the current SDK version,
notifyOnCaseSeveritywill returnNotificationSeverityLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromnotifyOnCaseSeverityAsString().- Returns:
- The case severity for a support case that you want to receive notifications.
If you specify
highorall, you must specifytruefor 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. -
- See Also:
NotificationSeverityLevel
-
-
notifyOnCaseSeverityAsString
public final String notifyOnCaseSeverityAsString()
The case severity for a support case that you want to receive notifications.
If you specify
highorall, you must specifytruefor 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.If the service returns an enum value that is not available in the current SDK version,
notifyOnCaseSeveritywill returnNotificationSeverityLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromnotifyOnCaseSeverityAsString().- Returns:
- The case severity for a support case that you want to receive notifications.
If you specify
highorall, you must specifytruefor 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. -
- See Also:
NotificationSeverityLevel
-
-
notifyOnCreateOrReopenCase
public final Boolean notifyOnCreateOrReopenCase()
Whether you want to get notified when a support case is created or reopened.
- Returns:
- Whether you want to get notified when a support case is created or reopened.
-
notifyOnResolveCase
public final Boolean notifyOnResolveCase()
Whether you want to get notified when a support case is resolved.
- Returns:
- Whether you want to get notified when a support case is resolved.
-
teamId
public final String teamId()
The team ID in Slack. This ID uniquely identifies a Slack workspace, such as
T012ABCDEFG.- Returns:
- The team ID in Slack. This ID uniquely identifies a Slack workspace, such as
T012ABCDEFG.
-
toBuilder
public CreateSlackChannelConfigurationRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateSlackChannelConfigurationRequest.Builder,CreateSlackChannelConfigurationRequest>- Specified by:
toBuilderin classSupportAppRequest
-
builder
public static CreateSlackChannelConfigurationRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateSlackChannelConfigurationRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-