Interface GetIncidentRecordResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetIncidentRecordResponse.Builder,,GetIncidentRecordResponse> SdkBuilder<GetIncidentRecordResponse.Builder,,GetIncidentRecordResponse> SdkPojo,SdkResponse.Builder,SsmIncidentsResponse.Builder
- Enclosing class:
GetIncidentRecordResponse
@Mutable
@NotThreadSafe
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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods 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.Builderavoiding the need to create one manually viaIncidentRecord.builder().When the
Consumercompletes,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:
-