Interface BatchEvaluateGeofencesError.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<BatchEvaluateGeofencesError.Builder,BatchEvaluateGeofencesError>,SdkBuilder<BatchEvaluateGeofencesError.Builder,BatchEvaluateGeofencesError>,SdkPojo
- Enclosing class:
- BatchEvaluateGeofencesError
public static interface BatchEvaluateGeofencesError.Builder extends SdkPojo, CopyableBuilder<BatchEvaluateGeofencesError.Builder,BatchEvaluateGeofencesError>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description BatchEvaluateGeofencesError.BuilderdeviceId(String deviceId)The device associated with the position evaluation error.default BatchEvaluateGeofencesError.Buildererror(Consumer<BatchItemError.Builder> error)Contains details associated to the batch error.BatchEvaluateGeofencesError.Buildererror(BatchItemError error)Contains details associated to the batch error.BatchEvaluateGeofencesError.BuildersampleTime(Instant sampleTime)Specifies a timestamp for when the error occurred in ISO 8601 format:YYYY-MM-DDThh:mm:ss.sssZ-
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
-
deviceId
BatchEvaluateGeofencesError.Builder deviceId(String deviceId)
The device associated with the position evaluation error.
- Parameters:
deviceId- The device associated with the position evaluation error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
BatchEvaluateGeofencesError.Builder error(BatchItemError error)
Contains details associated to the batch error.
- Parameters:
error- Contains details associated to the batch error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
default BatchEvaluateGeofencesError.Builder error(Consumer<BatchItemError.Builder> error)
Contains details associated to the batch error.
This is a convenience method that creates an instance of theBatchItemError.Builderavoiding the need to create one manually viaBatchItemError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerror(BatchItemError).- Parameters:
error- a consumer that will call methods onBatchItemError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
error(BatchItemError)
-
sampleTime
BatchEvaluateGeofencesError.Builder sampleTime(Instant sampleTime)
Specifies a timestamp for when the error occurred in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ- Parameters:
sampleTime- Specifies a timestamp for when the error occurred in ISO 8601 format:YYYY-MM-DDThh:mm:ss.sssZ- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-