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.Builder
entry
(Consumer<PropertyValueEntry.Builder> entry) An object that contains information about errors returned by theBatchPutProperty
action.entry
(PropertyValueEntry entry) An object that contains information about errors returned by theBatchPutProperty
action.The error code.errorMessage
(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, 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
BatchPutProperty
action.- Parameters:
entry
- An object that contains information about errors returned by theBatchPutProperty
action.- 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 theBatchPutProperty
action.PropertyValueEntry.Builder
avoiding the need to create one manually viaPropertyValueEntry.builder()
.When the
Consumer
completes,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:
-