@Generated(value="software.amazon.awssdk:codegen") public final class UpdateTimelineEventRequest extends SsmIncidentsRequest implements ToCopyableBuilder<UpdateTimelineEventRequest.Builder,UpdateTimelineEventRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateTimelineEventRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UpdateTimelineEventRequest.Builder |
builder() |
String |
clientToken()
A token that ensures that a client calls the operation only once with the specified details.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
eventData()
A short description of the event.
|
String |
eventId()
The ID of the event to update.
|
List<EventReference> |
eventReferences()
Updates all existing references in a
TimelineEvent. |
Instant |
eventTime()
The time that the event occurred.
|
String |
eventType()
The type of event.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasEventReferences()
For responses, this returns true if the service returned a value for the EventReferences property.
|
int |
hashCode() |
String |
incidentRecordArn()
The Amazon Resource Name (ARN) of the incident that includes the timeline event.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateTimelineEventRequest.Builder> |
serializableBuilderClass() |
UpdateTimelineEventRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String clientToken()
A token that ensures that a client calls the operation only once with the specified details.
public final String eventData()
A short description of the event.
public final String eventId()
The ID of the event to update. You can use ListTimelineEvents to find an event's ID.
ListTimelineEvents to find an event's ID.public final boolean hasEventReferences()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<EventReference> eventReferences()
Updates all existing references in a TimelineEvent. A reference is an Amazon Web Services resource
involved or associated with the incident. To specify a reference, enter its Amazon Resource Name (ARN). You can
also specify a related item associated with that resource. For example, to specify an Amazon DynamoDB (DynamoDB)
table as a resource, use its ARN. You can also specify an Amazon CloudWatch metric associated with the DynamoDB
table as a related item.
This update action overrides all existing references. If you want to keep existing references, you must specify them in the call. If you don't, this action removes any existing references and enters only new references.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasEventReferences() method.
TimelineEvent. A reference is an Amazon Web Services
resource involved or associated with the incident. To specify a reference, enter its Amazon Resource Name
(ARN). You can also specify a related item associated with that resource. For example, to specify an
Amazon DynamoDB (DynamoDB) table as a resource, use its ARN. You can also specify an Amazon CloudWatch
metric associated with the DynamoDB table as a related item. This update action overrides all existing references. If you want to keep existing references, you must specify them in the call. If you don't, this action removes any existing references and enters only new references.
public final Instant eventTime()
The time that the event occurred.
public final String eventType()
The type of event. You can update events of type Custom Event.
Custom Event.public final String incidentRecordArn()
The Amazon Resource Name (ARN) of the incident that includes the timeline event.
public UpdateTimelineEventRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateTimelineEventRequest.Builder,UpdateTimelineEventRequest>toBuilder in class SsmIncidentsRequestpublic static UpdateTimelineEventRequest.Builder builder()
public static Class<? extends UpdateTimelineEventRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.