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 interface
NotificationSettingKey.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NotificationSettingKey.Builder
builder()
NotificationChannel
channel()
The specified channel of notification.String
channelAsString()
The specified channel of notification.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
NotificationEvent
event()
The notification setting event to reset.String
eventAsString()
The notification setting event to reset.<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
List<SdkField<?>>
sdkFields()
static Class<? extends NotificationSettingKey.Builder>
serializableBuilderClass()
NotificationSettingKey.Builder
toBuilder()
String
toString()
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,
channel
will 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,
channel
will 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,
event
will 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,
event
will 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:
toBuilder
in 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:
equalsBySdkFields
in 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.
-
-