Interface GetIncidentRecordResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetIncidentRecordResponse.Builder,
,GetIncidentRecordResponse> SdkBuilder<GetIncidentRecordResponse.Builder,
,GetIncidentRecordResponse> SdkPojo
,SdkResponse.Builder
,SsmIncidentsResponse.Builder
- Enclosing class:
GetIncidentRecordResponse
public static interface GetIncidentRecordResponse.Builder
extends SsmIncidentsResponse.Builder, SdkPojo, CopyableBuilder<GetIncidentRecordResponse.Builder,GetIncidentRecordResponse>
-
Method Summary
Modifier and TypeMethodDescriptionincidentRecord
(Consumer<IncidentRecord.Builder> incidentRecord) Details the structure of the incident record.incidentRecord
(IncidentRecord incidentRecord) Details the structure of the incident record.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
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.ssmincidents.model.SsmIncidentsResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
incidentRecord
Details the structure of the incident record.
- Parameters:
incidentRecord
- Details the structure of the incident record.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
incidentRecord
default GetIncidentRecordResponse.Builder incidentRecord(Consumer<IncidentRecord.Builder> incidentRecord) Details the structure of the incident record.
This is a convenience method that creates an instance of theIncidentRecord.Builder
avoiding the need to create one manually viaIncidentRecord.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toincidentRecord(IncidentRecord)
.- Parameters:
incidentRecord
- a consumer that will call methods onIncidentRecord.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-