@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateTimelineEventRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
UpdateTimelineEventRequest() |
| Modifier and Type | Method and Description |
|---|---|
UpdateTimelineEventRequest |
clone() |
boolean |
equals(Object obj) |
String |
getClientToken()
A token ensuring that the operation is called only once with the specified details.
|
String |
getEventData()
A short description of the event.
|
String |
getEventId()
The ID of the event you are updating.
|
List<EventReference> |
getEventReferences()
Updates all existing references in a
TimelineEvent. |
Date |
getEventTime()
The time that the event occurred.
|
String |
getEventType()
The type of the event.
|
String |
getIncidentRecordArn()
The Amazon Resource Name (ARN) of the incident that includes the timeline event.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
A token ensuring that the operation is called only once with the specified details.
|
void |
setEventData(String eventData)
A short description of the event.
|
void |
setEventId(String eventId)
The ID of the event you are updating.
|
void |
setEventReferences(Collection<EventReference> eventReferences)
Updates all existing references in a
TimelineEvent. |
void |
setEventTime(Date eventTime)
The time that the event occurred.
|
void |
setEventType(String eventType)
The type of the event.
|
void |
setIncidentRecordArn(String incidentRecordArn)
The Amazon Resource Name (ARN) of the incident that includes the timeline event.
|
String |
toString()
Returns a string representation of this object.
|
UpdateTimelineEventRequest |
withClientToken(String clientToken)
A token ensuring that the operation is called only once with the specified details.
|
UpdateTimelineEventRequest |
withEventData(String eventData)
A short description of the event.
|
UpdateTimelineEventRequest |
withEventId(String eventId)
The ID of the event you are updating.
|
UpdateTimelineEventRequest |
withEventReferences(Collection<EventReference> eventReferences)
Updates all existing references in a
TimelineEvent. |
UpdateTimelineEventRequest |
withEventReferences(EventReference... eventReferences)
Updates all existing references in a
TimelineEvent. |
UpdateTimelineEventRequest |
withEventTime(Date eventTime)
The time that the event occurred.
|
UpdateTimelineEventRequest |
withEventType(String eventType)
The type of the event.
|
UpdateTimelineEventRequest |
withIncidentRecordArn(String incidentRecordArn)
The Amazon Resource Name (ARN) of the incident that includes the timeline event.
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setClientToken(String clientToken)
A token ensuring that the operation is called only once with the specified details.
clientToken - A token ensuring that the operation is called only once with the specified details.public String getClientToken()
A token ensuring that the operation is called only once with the specified details.
public UpdateTimelineEventRequest withClientToken(String clientToken)
A token ensuring that the operation is called only once with the specified details.
clientToken - A token ensuring that the operation is called only once with the specified details.public void setEventData(String eventData)
A short description of the event.
eventData - A short description of the event.public String getEventData()
A short description of the event.
public UpdateTimelineEventRequest withEventData(String eventData)
A short description of the event.
eventData - A short description of the event.public void setEventId(String eventId)
The ID of the event you are updating. You can find this by using ListTimelineEvents.
eventId - The ID of the event you are updating. You can find this by using ListTimelineEvents.public String getEventId()
The ID of the event you are updating. You can find this by using ListTimelineEvents.
ListTimelineEvents.public UpdateTimelineEventRequest withEventId(String eventId)
The ID of the event you are updating. You can find this by using ListTimelineEvents.
eventId - The ID of the event you are updating. You can find this by using ListTimelineEvents.public List<EventReference> getEventReferences()
Updates all existing references in a TimelineEvent. A reference can be an Amazon Web Services
resource involved in the incident or in some way associated with it. When you specify a reference, you enter the
Amazon Resource Name (ARN) of the resource. You can also specify a related item. As an example, you could specify
the ARN of an Amazon DynamoDB (DynamoDB) table. The table for this example is the resource. You could also
specify a Amazon CloudWatch metric for that table. The metric is the 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 them and enters only new references.
TimelineEvent. A reference can be an Amazon Web
Services resource involved in the incident or in some way associated with it. When you specify a
reference, you enter the Amazon Resource Name (ARN) of the resource. You can also specify a related item.
As an example, you could specify the ARN of an Amazon DynamoDB (DynamoDB) table. The table for this
example is the resource. You could also specify a Amazon CloudWatch metric for that table. The metric is
the 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 them and enters only new references.
public void setEventReferences(Collection<EventReference> eventReferences)
Updates all existing references in a TimelineEvent. A reference can be an Amazon Web Services
resource involved in the incident or in some way associated with it. When you specify a reference, you enter the
Amazon Resource Name (ARN) of the resource. You can also specify a related item. As an example, you could specify
the ARN of an Amazon DynamoDB (DynamoDB) table. The table for this example is the resource. You could also
specify a Amazon CloudWatch metric for that table. The metric is the 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 them and enters only new references.
eventReferences - Updates all existing references in a TimelineEvent. A reference can be an Amazon Web Services
resource involved in the incident or in some way associated with it. When you specify a reference, you
enter the Amazon Resource Name (ARN) of the resource. You can also specify a related item. As an example,
you could specify the ARN of an Amazon DynamoDB (DynamoDB) table. The table for this example is the
resource. You could also specify a Amazon CloudWatch metric for that table. The metric is the 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 them and enters only new references.
public UpdateTimelineEventRequest withEventReferences(EventReference... eventReferences)
Updates all existing references in a TimelineEvent. A reference can be an Amazon Web Services
resource involved in the incident or in some way associated with it. When you specify a reference, you enter the
Amazon Resource Name (ARN) of the resource. You can also specify a related item. As an example, you could specify
the ARN of an Amazon DynamoDB (DynamoDB) table. The table for this example is the resource. You could also
specify a Amazon CloudWatch metric for that table. The metric is the 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 them and enters only new references.
NOTE: This method appends the values to the existing list (if any). Use
setEventReferences(java.util.Collection) or withEventReferences(java.util.Collection) if you
want to override the existing values.
eventReferences - Updates all existing references in a TimelineEvent. A reference can be an Amazon Web Services
resource involved in the incident or in some way associated with it. When you specify a reference, you
enter the Amazon Resource Name (ARN) of the resource. You can also specify a related item. As an example,
you could specify the ARN of an Amazon DynamoDB (DynamoDB) table. The table for this example is the
resource. You could also specify a Amazon CloudWatch metric for that table. The metric is the 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 them and enters only new references.
public UpdateTimelineEventRequest withEventReferences(Collection<EventReference> eventReferences)
Updates all existing references in a TimelineEvent. A reference can be an Amazon Web Services
resource involved in the incident or in some way associated with it. When you specify a reference, you enter the
Amazon Resource Name (ARN) of the resource. You can also specify a related item. As an example, you could specify
the ARN of an Amazon DynamoDB (DynamoDB) table. The table for this example is the resource. You could also
specify a Amazon CloudWatch metric for that table. The metric is the 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 them and enters only new references.
eventReferences - Updates all existing references in a TimelineEvent. A reference can be an Amazon Web Services
resource involved in the incident or in some way associated with it. When you specify a reference, you
enter the Amazon Resource Name (ARN) of the resource. You can also specify a related item. As an example,
you could specify the ARN of an Amazon DynamoDB (DynamoDB) table. The table for this example is the
resource. You could also specify a Amazon CloudWatch metric for that table. The metric is the 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 them and enters only new references.
public void setEventTime(Date eventTime)
The time that the event occurred.
eventTime - The time that the event occurred.public Date getEventTime()
The time that the event occurred.
public UpdateTimelineEventRequest withEventTime(Date eventTime)
The time that the event occurred.
eventTime - The time that the event occurred.public void setEventType(String eventType)
The type of the event. You can update events of type Custom Event.
eventType - The type of the event. You can update events of type Custom Event.public String getEventType()
The type of the event. You can update events of type Custom Event.
Custom Event.public UpdateTimelineEventRequest withEventType(String eventType)
The type of the event. You can update events of type Custom Event.
eventType - The type of the event. You can update events of type Custom Event.public void setIncidentRecordArn(String incidentRecordArn)
The Amazon Resource Name (ARN) of the incident that includes the timeline event.
incidentRecordArn - The Amazon Resource Name (ARN) of the incident that includes the timeline event.public String getIncidentRecordArn()
The Amazon Resource Name (ARN) of the incident that includes the timeline event.
public UpdateTimelineEventRequest withIncidentRecordArn(String incidentRecordArn)
The Amazon Resource Name (ARN) of the incident that includes the timeline event.
incidentRecordArn - The Amazon Resource Name (ARN) of the incident that includes the timeline event.public String toString()
toString in class ObjectObject.toString()public UpdateTimelineEventRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2022. All rights reserved.