@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 ARN of the notification target to which alerts are sent.
|
static AlertTarget.Builder |
builder() |
boolean |
equals(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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String alertTargetArn()
The ARN of the notification target to which alerts are sent.
public String roleArn()
The ARN of the role that grants permission to send alerts to the notification target.
public AlertTarget.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<AlertTarget.Builder,AlertTarget>
public static AlertTarget.Builder builder()
public static Class<? extends AlertTarget.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.