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 interfaceAlertTarget.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringalertTargetArn()The Amazon Resource Name (ARN) of the notification target to which alerts are sent.static AlertTarget.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringroleArn()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.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
-
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:
toBuilderin 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:
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.
-
-