Interface BatchSnoozeAlarmResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchSnoozeAlarmResponse.Builder,BatchSnoozeAlarmResponse>,IotEventsDataResponse.Builder,SdkBuilder<BatchSnoozeAlarmResponse.Builder,BatchSnoozeAlarmResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- BatchSnoozeAlarmResponse
public static interface BatchSnoozeAlarmResponse.Builder extends IotEventsDataResponse.Builder, SdkPojo, CopyableBuilder<BatchSnoozeAlarmResponse.Builder,BatchSnoozeAlarmResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchSnoozeAlarmResponse.BuildererrorEntries(Collection<BatchAlarmActionErrorEntry> errorEntries)A list of errors associated with the request, ornullif there are no errors.BatchSnoozeAlarmResponse.BuildererrorEntries(Consumer<BatchAlarmActionErrorEntry.Builder>... errorEntries)A list of errors associated with the request, ornullif there are no errors.BatchSnoozeAlarmResponse.BuildererrorEntries(BatchAlarmActionErrorEntry... errorEntries)A list of errors associated with the request, ornullif there are no errors.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ioteventsdata.model.IotEventsDataResponse.Builder
build, responseMetadata, responseMetadata
-
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
-
-
-
-
Method Detail
-
errorEntries
BatchSnoozeAlarmResponse.Builder errorEntries(Collection<BatchAlarmActionErrorEntry> errorEntries)
A list of errors associated with the request, or
nullif there are no errors. Each error entry contains an entry ID that helps you identify the entry that failed.- Parameters:
errorEntries- A list of errors associated with the request, ornullif there are no errors. Each error entry contains an entry ID that helps you identify the entry that failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorEntries
BatchSnoozeAlarmResponse.Builder errorEntries(BatchAlarmActionErrorEntry... errorEntries)
A list of errors associated with the request, or
nullif there are no errors. Each error entry contains an entry ID that helps you identify the entry that failed.- Parameters:
errorEntries- A list of errors associated with the request, ornullif there are no errors. Each error entry contains an entry ID that helps you identify the entry that failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorEntries
BatchSnoozeAlarmResponse.Builder errorEntries(Consumer<BatchAlarmActionErrorEntry.Builder>... errorEntries)
A list of errors associated with the request, or
This is a convenience method that creates an instance of thenullif there are no errors. Each error entry contains an entry ID that helps you identify the entry that failed.BatchAlarmActionErrorEntry.Builderavoiding the need to create one manually viaBatchAlarmActionErrorEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#errorEntries(List.) - Parameters:
errorEntries- a consumer that will call methods onBatchAlarmActionErrorEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#errorEntries(java.util.Collection)
-
-