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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchPutAssetPropertyError.BuildererrorCode(String errorCode)The error code.BatchPutAssetPropertyError.BuildererrorCode(BatchPutAssetPropertyValueErrorCode errorCode)The error code.BatchPutAssetPropertyError.BuildererrorMessage(String errorMessage)The associated error message.BatchPutAssetPropertyError.Buildertimestamps(Collection<TimeInNanos> timestamps)A list of timestamps for each error, if any.BatchPutAssetPropertyError.Buildertimestamps(Consumer<TimeInNanos.Builder>... timestamps)A list of timestamps for each error, if any.BatchPutAssetPropertyError.Buildertimestamps(TimeInNanos... timestamps)A list of timestamps for each error, if any.-
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 Detail
-
errorCode
BatchPutAssetPropertyError.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.
- See Also:
BatchPutAssetPropertyValueErrorCode,BatchPutAssetPropertyValueErrorCode
-
errorCode
BatchPutAssetPropertyError.Builder errorCode(BatchPutAssetPropertyValueErrorCode 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:
BatchPutAssetPropertyValueErrorCode,BatchPutAssetPropertyValueErrorCode
-
errorMessage
BatchPutAssetPropertyError.Builder errorMessage(String 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
BatchPutAssetPropertyError.Builder timestamps(Collection<TimeInNanos> 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
BatchPutAssetPropertyError.Builder timestamps(TimeInNanos... 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
BatchPutAssetPropertyError.Builder timestamps(Consumer<TimeInNanos.Builder>... 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 to#timestamps(List.) - 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:
#timestamps(java.util.Collection)
-
-