Interface IncidentRecordSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<IncidentRecordSummary.Builder,
,IncidentRecordSummary> SdkBuilder<IncidentRecordSummary.Builder,
,IncidentRecordSummary> SdkPojo
- Enclosing class:
IncidentRecordSummary
public static interface IncidentRecordSummary.Builder
extends SdkPojo, CopyableBuilder<IncidentRecordSummary.Builder,IncidentRecordSummary>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the incident.creationTime
(Instant creationTime) The timestamp for when the incident was created.Defines the impact to customers and applications.default IncidentRecordSummary.Builder
incidentRecordSource
(Consumer<IncidentRecordSource.Builder> incidentRecordSource) What caused Incident Manager to create the incident.incidentRecordSource
(IncidentRecordSource incidentRecordSource) What caused Incident Manager to create the incident.resolvedTime
(Instant resolvedTime) The timestamp for when the incident was resolved.The current status of the incident.status
(IncidentRecordStatus status) The current status of the incident.The title of the incident.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
arn
The Amazon Resource Name (ARN) of the incident.
- Parameters:
arn
- The Amazon Resource Name (ARN) of the incident.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
The timestamp for when the incident was created.
- Parameters:
creationTime
- The timestamp for when the incident was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
impact
Defines the impact to customers and applications.
- Parameters:
impact
- Defines the impact to customers and applications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
incidentRecordSource
What caused Incident Manager to create the incident.
- Parameters:
incidentRecordSource
- What caused Incident Manager to create the incident.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
incidentRecordSource
default IncidentRecordSummary.Builder incidentRecordSource(Consumer<IncidentRecordSource.Builder> incidentRecordSource) What caused Incident Manager to create the incident.
This is a convenience method that creates an instance of theIncidentRecordSource.Builder
avoiding the need to create one manually viaIncidentRecordSource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toincidentRecordSource(IncidentRecordSource)
.- Parameters:
incidentRecordSource
- a consumer that will call methods onIncidentRecordSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resolvedTime
The timestamp for when the incident was resolved.
- Parameters:
resolvedTime
- The timestamp for when the incident was resolved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the incident.
- Parameters:
status
- The current status of the incident.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the incident.
- Parameters:
status
- The current status of the incident.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
title
The title of the incident. This value is either provided by the response plan or overwritten on creation.
- Parameters:
title
- The title of the incident. This value is either provided by the response plan or overwritten on creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-