Interface BatchPutPropertyError.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<BatchPutPropertyError.Builder,,BatchPutPropertyError> SdkBuilder<BatchPutPropertyError.Builder,,BatchPutPropertyError> SdkPojo
- Enclosing class:
BatchPutPropertyError
public static interface BatchPutPropertyError.Builder
extends SdkPojo, CopyableBuilder<BatchPutPropertyError.Builder,BatchPutPropertyError>
-
Method Summary
Modifier and TypeMethodDescriptiondefault BatchPutPropertyError.Builderentry(Consumer<PropertyValueEntry.Builder> entry) An object that contains information about errors returned by theBatchPutPropertyaction.entry(PropertyValueEntry entry) An object that contains information about errors returned by theBatchPutPropertyaction.The error code.errorMessage(String errorMessage) The error message.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
-
errorCode
The error code.
- Parameters:
errorCode- The error code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorMessage
The error message.
- Parameters:
errorMessage- The error message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entry
An object that contains information about errors returned by the
BatchPutPropertyaction.- Parameters:
entry- An object that contains information about errors returned by theBatchPutPropertyaction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entry
An object that contains information about errors returned by the
This is a convenience method that creates an instance of theBatchPutPropertyaction.PropertyValueEntry.Builderavoiding the need to create one manually viaPropertyValueEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toentry(PropertyValueEntry).- Parameters:
entry- a consumer that will call methods onPropertyValueEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-