Class NotificationSettingKey
- java.lang.Object
-
- software.amazon.awssdk.services.rolesanywhere.model.NotificationSettingKey
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<NotificationSettingKey.Builder,NotificationSettingKey>
@Generated("software.amazon.awssdk:codegen") public final class NotificationSettingKey extends Object implements SdkPojo, Serializable, ToCopyableBuilder<NotificationSettingKey.Builder,NotificationSettingKey>
A notification setting key to reset. A notification setting key includes the event and the channel.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceNotificationSettingKey.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NotificationSettingKey.Builderbuilder()NotificationChannelchannel()The specified channel of notification.StringchannelAsString()The specified channel of notification.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)NotificationEventevent()The notification setting event to reset.StringeventAsString()The notification setting event to reset.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends NotificationSettingKey.Builder>serializableBuilderClass()NotificationSettingKey.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
-
channel
public final NotificationChannel channel()
The specified channel of notification.
If the service returns an enum value that is not available in the current SDK version,
channelwill returnNotificationChannel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromchannelAsString().- Returns:
- The specified channel of notification.
- See Also:
NotificationChannel
-
channelAsString
public final String channelAsString()
The specified channel of notification.
If the service returns an enum value that is not available in the current SDK version,
channelwill returnNotificationChannel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromchannelAsString().- Returns:
- The specified channel of notification.
- See Also:
NotificationChannel
-
event
public final NotificationEvent event()
The notification setting event to reset.
If the service returns an enum value that is not available in the current SDK version,
eventwill returnNotificationEvent.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromeventAsString().- Returns:
- The notification setting event to reset.
- See Also:
NotificationEvent
-
eventAsString
public final String eventAsString()
The notification setting event to reset.
If the service returns an enum value that is not available in the current SDK version,
eventwill returnNotificationEvent.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromeventAsString().- Returns:
- The notification setting event to reset.
- See Also:
NotificationEvent
-
toBuilder
public NotificationSettingKey.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<NotificationSettingKey.Builder,NotificationSettingKey>
-
builder
public static NotificationSettingKey.Builder builder()
-
serializableBuilderClass
public static Class<? extends NotificationSettingKey.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.
-
-