Interface BatchPutAssetPropertyErrorEntry.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<BatchPutAssetPropertyErrorEntry.Builder,,BatchPutAssetPropertyErrorEntry> SdkBuilder<BatchPutAssetPropertyErrorEntry.Builder,,BatchPutAssetPropertyErrorEntry> SdkPojo
- Enclosing class:
BatchPutAssetPropertyErrorEntry
public static interface BatchPutAssetPropertyErrorEntry.Builder
extends SdkPojo, CopyableBuilder<BatchPutAssetPropertyErrorEntry.Builder,BatchPutAssetPropertyErrorEntry>
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the failed entry.errors(Collection<BatchPutAssetPropertyError> errors) The list of update property value errors.errors(Consumer<BatchPutAssetPropertyError.Builder>... errors) The list of update property value errors.errors(BatchPutAssetPropertyError... errors) The list of update property value errors.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, sdkFields
-
Method Details
-
entryId
The ID of the failed entry.
- Parameters:
entryId- The ID of the failed entry.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
The list of update property value errors.
- Parameters:
errors- The list of update property value errors.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
The list of update property value errors.
- Parameters:
errors- The list of update property value errors.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
BatchPutAssetPropertyErrorEntry.Builder errors(Consumer<BatchPutAssetPropertyError.Builder>... errors) The list of update property value errors.
This is a convenience method that creates an instance of theBatchPutAssetPropertyError.Builderavoiding the need to create one manually viaBatchPutAssetPropertyError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerrors(List<BatchPutAssetPropertyError>).- Parameters:
errors- a consumer that will call methods onBatchPutAssetPropertyError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-