Class SlackChannelConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.supportapp.model.SlackChannelConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SlackChannelConfiguration.Builder,SlackChannelConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class SlackChannelConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SlackChannelConfiguration.Builder,SlackChannelConfiguration>
The configuration for a Slack channel that you added for your Amazon Web Services account.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSlackChannelConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SlackChannelConfiguration.Builderbuilder()StringchannelId()The channel ID in Slack.StringchannelName()The name of the Slack channel that you configured with the Amazon Web Services Support App for your Amazon Web Services account.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 SlackChannelConfiguration.Builder>serializableBuilderClass()StringteamId()The team ID in Slack.SlackChannelConfiguration.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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 configured with the Amazon Web Services Support App for your Amazon Web Services account.
- Returns:
- The name of the Slack channel that you configured with the Amazon Web Services Support App for your Amazon Web Services account.
-
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 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.
- See Also:
NotificationSeverityLevel
-
notifyOnCaseSeverityAsString
public final String notifyOnCaseSeverityAsString()
The case severity for a support case that you want to receive notifications.
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.
- 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 SlackChannelConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SlackChannelConfiguration.Builder,SlackChannelConfiguration>
-
builder
public static SlackChannelConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends SlackChannelConfiguration.Builder> serializableBuilderClass()
-
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.
-
-