Interface BatchPutAssetPropertyValueResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchPutAssetPropertyValueResponse.Builder,,BatchPutAssetPropertyValueResponse> IoTSiteWiseResponse.Builder,SdkBuilder<BatchPutAssetPropertyValueResponse.Builder,,BatchPutAssetPropertyValueResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
BatchPutAssetPropertyValueResponse
@Mutable
@NotThreadSafe
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
copyMethods inherited from interface software.amazon.awssdk.services.iotsitewise.model.IoTSiteWiseResponse.Builder
build, responseMetadata, responseMetadataMethods 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, 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
entryIdof the entry that failed.- Parameters:
errorEntries- A list of the errors (if any) associated with the batch put request. Each error entry contains theentryIdof 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
entryIdof the entry that failed.- Parameters:
errorEntries- A list of the errors (if any) associated with the batch put request. Each error entry contains theentryIdof 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 theentryIdof the entry that failed.BatchPutAssetPropertyErrorEntry.Builderavoiding the need to create one manually viaBatchPutAssetPropertyErrorEntry.builder().When the
Consumercompletes,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:
-