Interface BatchPutAssetPropertyError.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<BatchPutAssetPropertyError.Builder,,BatchPutAssetPropertyError> SdkBuilder<BatchPutAssetPropertyError.Builder,,BatchPutAssetPropertyError> SdkPojo
- Enclosing class:
BatchPutAssetPropertyError
public static interface BatchPutAssetPropertyError.Builder
extends SdkPojo, CopyableBuilder<BatchPutAssetPropertyError.Builder,BatchPutAssetPropertyError>
-
Method Summary
Modifier and TypeMethodDescriptionThe error code.errorCode(BatchPutAssetPropertyValueErrorCode errorCode) The error code.errorMessage(String errorMessage) The associated error message.timestamps(Collection<TimeInNanos> timestamps) A list of timestamps for each error, if any.timestamps(Consumer<TimeInNanos.Builder>... timestamps) A list of timestamps for each error, if any.timestamps(TimeInNanos... timestamps) A list of timestamps for each error, if any.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.
- See Also:
-
errorCode
The error code.
- Parameters:
errorCode- The error code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errorMessage
The associated error message.
- Parameters:
errorMessage- The associated error message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timestamps
A list of timestamps for each error, if any.
- Parameters:
timestamps- A list of timestamps for each error, if any.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timestamps
A list of timestamps for each error, if any.
- Parameters:
timestamps- A list of timestamps for each error, if any.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timestamps
A list of timestamps for each error, if any.
This is a convenience method that creates an instance of theTimeInNanos.Builderavoiding the need to create one manually viaTimeInNanos.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totimestamps(List<TimeInNanos>).- Parameters:
timestamps- a consumer that will call methods onTimeInNanos.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-