Interface BatchPutAssetPropertyValueResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<BatchPutAssetPropertyValueResponse.Builder,
,BatchPutAssetPropertyValueResponse> IoTSiteWiseResponse.Builder
,SdkBuilder<BatchPutAssetPropertyValueResponse.Builder,
,BatchPutAssetPropertyValueResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
BatchPutAssetPropertyValueResponse
public static interface BatchPutAssetPropertyValueResponse.Builder
extends IoTSiteWiseResponse.Builder, SdkPojo, CopyableBuilder<BatchPutAssetPropertyValueResponse.Builder,BatchPutAssetPropertyValueResponse>
-
Method Summary
Modifier and TypeMethodDescriptionerrorEntries
(Collection<BatchPutAssetPropertyErrorEntry> errorEntries) A list of the errors (if any) associated with the batch put request.errorEntries
(Consumer<BatchPutAssetPropertyErrorEntry.Builder>... errorEntries) A list of the errors (if any) associated with the batch put request.errorEntries
(BatchPutAssetPropertyErrorEntry... errorEntries) A list of the errors (if any) associated with the batch put request.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iotsitewise.model.IoTSiteWiseResponse.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 Details
-
errorEntries
BatchPutAssetPropertyValueResponse.Builder errorEntries(Collection<BatchPutAssetPropertyErrorEntry> errorEntries) A list of the errors (if any) associated with the batch put request. Each error entry contains the
entryId
of the entry that failed.- Parameters:
errorEntries
- A list of the errors (if any) associated with the batch put request. Each error entry contains theentryId
of the entry that failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorEntries
BatchPutAssetPropertyValueResponse.Builder errorEntries(BatchPutAssetPropertyErrorEntry... errorEntries) A list of the errors (if any) associated with the batch put request. Each error entry contains the
entryId
of the entry that failed.- Parameters:
errorEntries
- A list of the errors (if any) associated with the batch put request. Each error entry contains theentryId
of the entry that failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorEntries
BatchPutAssetPropertyValueResponse.Builder errorEntries(Consumer<BatchPutAssetPropertyErrorEntry.Builder>... errorEntries) A list of the errors (if any) associated with the batch put request. Each error entry contains the
This is a convenience method that creates an instance of theentryId
of the entry that failed.BatchPutAssetPropertyErrorEntry.Builder
avoiding the need to create one manually viaBatchPutAssetPropertyErrorEntry.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerrorEntries(List<BatchPutAssetPropertyErrorEntry>)
.- Parameters:
errorEntries
- a consumer that will call methods onBatchPutAssetPropertyErrorEntry.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-