@Generated(value="software.amazon.awssdk:codegen") public final class IncidentRecordSource extends Object implements SdkPojo, Serializable, ToCopyableBuilder<IncidentRecordSource.Builder,IncidentRecordSource>
Details about what created the incident record and when it was created.
| Modifier and Type | Class and Description |
|---|---|
static interface |
IncidentRecordSource.Builder |
| Modifier and Type | Method and Description |
|---|---|
static IncidentRecordSource.Builder |
builder() |
String |
createdBy()
The principal that started the incident.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
invokedBy()
The service principal that assumed the role specified in
createdBy. |
String |
resourceArn()
The resource that caused the incident to be created.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends IncidentRecordSource.Builder> |
serializableBuilderClass() |
String |
source()
The service that started the incident.
|
IncidentRecordSource.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String createdBy()
The principal that started the incident.
public final String invokedBy()
The service principal that assumed the role specified in createdBy. If no service principal assumed
the role this will be left blank.
createdBy. If no service principal
assumed the role this will be left blank.public final String resourceArn()
The resource that caused the incident to be created.
public final String source()
The service that started the incident. This can be manually created from Incident Manager, automatically created using an Amazon CloudWatch alarm, or Amazon EventBridge event.
public IncidentRecordSource.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<IncidentRecordSource.Builder,IncidentRecordSource>public static IncidentRecordSource.Builder builder()
public static Class<? extends IncidentRecordSource.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.