Interface UpdateTimelineEventRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- Buildable,- CopyableBuilder<UpdateTimelineEventRequest.Builder,,- UpdateTimelineEventRequest> - SdkBuilder<UpdateTimelineEventRequest.Builder,,- UpdateTimelineEventRequest> - SdkPojo,- SdkRequest.Builder,- SsmIncidentsRequest.Builder
- Enclosing class:
- UpdateTimelineEventRequest
- 
Method SummaryModifier and TypeMethodDescriptionclientToken(String clientToken) A token that ensures that a client calls the operation only once with the specified details.A short description of the event.The ID of the event to update.eventReferences(Collection<EventReference> eventReferences) Updates all existing references in aTimelineEvent.eventReferences(Consumer<EventReference.Builder>... eventReferences) Updates all existing references in aTimelineEvent.eventReferences(EventReference... eventReferences) Updates all existing references in aTimelineEvent.The timestamp for when the event occurred.The type of event.incidentRecordArn(String incidentRecordArn) The Amazon Resource Name (ARN) of the incident that includes the timeline event.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.ssmincidents.model.SsmIncidentsRequest.Builderbuild
- 
Method Details- 
clientTokenA token that ensures that a client calls the operation only once with the specified details. - Parameters:
- clientToken- A token that ensures that a client calls the operation only once with the specified details.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
eventDataA short description of the event. - Parameters:
- eventData- A short description of the event.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
eventIdThe ID of the event to update. You can use ListTimelineEventsto find an event's ID.- Parameters:
- eventId- The ID of the event to update. You can use- ListTimelineEventsto find an event's ID.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
eventReferencesUpdates 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. - Parameters:
- 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. 
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
eventReferencesUpdates 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. - Parameters:
- 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. 
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
eventReferencesUpdateTimelineEventRequest.Builder eventReferences(Consumer<EventReference.Builder>... 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. EventReference.Builderavoiding the need to create one manually viaEventReference.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toeventReferences(List<EventReference>).- Parameters:
- eventReferences- a consumer that will call methods on- EventReference.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
eventTimeThe timestamp for when the event occurred. - Parameters:
- eventTime- The timestamp for when the event occurred.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
eventTypeThe type of event. You can update events of type Custom EventandNote.- Parameters:
- eventType- The type of event. You can update events of type- Custom Eventand- Note.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
incidentRecordArnThe Amazon Resource Name (ARN) of the incident that includes the timeline event. - Parameters:
- incidentRecordArn- The Amazon Resource Name (ARN) of the incident that includes the timeline event.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
overrideConfigurationUpdateTimelineEventRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationUpdateTimelineEventRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-