Class AlertTarget
- java.lang.Object
-
- software.amazon.awssdk.services.iot.model.AlertTarget
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<AlertTarget.Builder,AlertTarget>
@Generated("software.amazon.awssdk:codegen") public final class AlertTarget extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AlertTarget.Builder,AlertTarget>
A structure containing the alert target ARN and the role ARN.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
AlertTarget.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
alertTargetArn()
The Amazon Resource Name (ARN) of the notification target to which alerts are sent.static AlertTarget.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
roleArn()
The ARN of the role that grants permission to send alerts to the notification target.List<SdkField<?>>
sdkFields()
static Class<? extends AlertTarget.Builder>
serializableBuilderClass()
AlertTarget.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
-
alertTargetArn
public final String alertTargetArn()
The Amazon Resource Name (ARN) of the notification target to which alerts are sent.
- Returns:
- The Amazon Resource Name (ARN) of the notification target to which alerts are sent.
-
roleArn
public final String roleArn()
The ARN of the role that grants permission to send alerts to the notification target.
- Returns:
- The ARN of the role that grants permission to send alerts to the notification target.
-
toBuilder
public AlertTarget.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<AlertTarget.Builder,AlertTarget>
-
builder
public static AlertTarget.Builder builder()
-
serializableBuilderClass
public static Class<? extends AlertTarget.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.
-
-