@Generated(value="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.
Modifier and Type | Class and Description |
---|---|
static interface |
AlertTarget.Builder |
Modifier and Type | Method and 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.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String alertTargetArn()
The Amazon Resource Name (ARN) of the notification target to which alerts are sent.
public final String roleArn()
The ARN of the role that grants permission to send alerts to the notification target.
public AlertTarget.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<AlertTarget.Builder,AlertTarget>
public static AlertTarget.Builder builder()
public static Class<? extends AlertTarget.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2023. All rights reserved.