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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default BatchPutPropertyError.Builderentry(Consumer<PropertyValueEntry.Builder> entry)An object that contains information about errors returned by theBatchPutPropertyaction.BatchPutPropertyError.Builderentry(PropertyValueEntry entry)An object that contains information about errors returned by theBatchPutPropertyaction.BatchPutPropertyError.BuildererrorCode(String errorCode)The error code.BatchPutPropertyError.BuildererrorMessage(String errorMessage)The error message.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
errorCode
BatchPutPropertyError.Builder errorCode(String 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
BatchPutPropertyError.Builder errorMessage(String 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
BatchPutPropertyError.Builder entry(PropertyValueEntry 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
default BatchPutPropertyError.Builder entry(Consumer<PropertyValueEntry.Builder> 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:
entry(PropertyValueEntry)
-
-