@Generated(value="software.amazon.awssdk:codegen") public final class Label extends Object implements StructuredPojo, ToCopyableBuilder<Label.Builder,Label>
Structure containing details about the detected label, including name, and level of confidence.
Modifier and Type | Class and Description |
---|---|
static interface |
Label.Builder |
Modifier and Type | Method and Description |
---|---|
static Label.Builder |
builder() |
Float |
confidence()
Level of confidence.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
name()
The name (label) of the object.
|
static Class<? extends Label.Builder> |
serializableBuilderClass() |
Label.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String name()
The name (label) of the object.
public Float confidence()
Level of confidence.
public Label.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Label.Builder,Label>
public static Label.Builder builder()
public static Class<? extends Label.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.