Interface BatchEnableAlarmResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchEnableAlarmResponse.Builder,,BatchEnableAlarmResponse> IotEventsDataResponse.Builder,SdkBuilder<BatchEnableAlarmResponse.Builder,,BatchEnableAlarmResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
BatchEnableAlarmResponse
public static interface BatchEnableAlarmResponse.Builder
extends IotEventsDataResponse.Builder, SdkPojo, CopyableBuilder<BatchEnableAlarmResponse.Builder,BatchEnableAlarmResponse>
-
Method Summary
Modifier and TypeMethodDescriptionerrorEntries(Collection<BatchAlarmActionErrorEntry> errorEntries) A list of errors associated with the request, ornullif there are no errors.errorEntries(Consumer<BatchAlarmActionErrorEntry.Builder>... errorEntries) A list of errors associated with the request, ornullif there are no errors.errorEntries(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
copyMethods inherited from interface software.amazon.awssdk.services.ioteventsdata.model.IotEventsDataResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
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
BatchEnableAlarmResponse.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 toerrorEntries(List<BatchAlarmActionErrorEntry>).- 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:
-