Class Prediction
- java.lang.Object
-
- software.amazon.awssdk.services.textract.model.Prediction
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<Prediction.Builder,Prediction>
@Generated("software.amazon.awssdk:codegen") public final class Prediction extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Prediction.Builder,Prediction>
Contains information regarding predicted values returned by Amazon Textract operations, including the predicted value and the confidence in the predicted value.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
Prediction.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Prediction.Builder
builder()
Float
confidence()
Amazon Textract's confidence in its predicted value.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
List<SdkField<?>>
sdkFields()
static Class<? extends Prediction.Builder>
serializableBuilderClass()
Prediction.Builder
toBuilder()
String
toString()
Returns a string representation of this object.String
value()
The predicted value of a detected object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
value
public final String value()
The predicted value of a detected object.
- Returns:
- The predicted value of a detected object.
-
confidence
public final Float confidence()
Amazon Textract's confidence in its predicted value.
- Returns:
- Amazon Textract's confidence in its predicted value.
-
toBuilder
public Prediction.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<Prediction.Builder,Prediction>
-
builder
public static Prediction.Builder builder()
-
serializableBuilderClass
public static Class<? extends Prediction.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-