Interface BatchPutPropertyErrorEntry.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<BatchPutPropertyErrorEntry.Builder,,BatchPutPropertyErrorEntry> SdkBuilder<BatchPutPropertyErrorEntry.Builder,,BatchPutPropertyErrorEntry> SdkPojo
- Enclosing class:
BatchPutPropertyErrorEntry
public static interface BatchPutPropertyErrorEntry.Builder
extends SdkPojo, CopyableBuilder<BatchPutPropertyErrorEntry.Builder,BatchPutPropertyErrorEntry>
-
Method Summary
Modifier and TypeMethodDescriptionerrors(Collection<BatchPutPropertyError> errors) A list of objects that contain information about errors returned by theBatchPutPropertyaction.errors(Consumer<BatchPutPropertyError.Builder>... errors) A list of objects that contain information about errors returned by theBatchPutPropertyaction.errors(BatchPutPropertyError... errors) A list of objects that contain information about errors returned by theBatchPutPropertyaction.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
-
errors
A list of objects that contain information about errors returned by the
BatchPutPropertyaction.- Parameters:
errors- A list of objects that contain information about errors returned by theBatchPutPropertyaction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
A list of objects that contain information about errors returned by the
BatchPutPropertyaction.- Parameters:
errors- A list of objects that contain information about errors returned by theBatchPutPropertyaction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
A list of objects that contain information about errors returned by the
This is a convenience method that creates an instance of theBatchPutPropertyaction.BatchPutPropertyError.Builderavoiding the need to create one manually viaBatchPutPropertyError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerrors(List<BatchPutPropertyError>).- Parameters:
errors- a consumer that will call methods onBatchPutPropertyError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-