StructuredPojo
, ToCopyableBuilder<Label.Builder,Label>
@Generated("software.amazon.awssdk:codegen") public 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 | Description |
---|---|---|
static interface |
Label.Builder |
Modifier and Type | Method | Description |
---|---|---|
static Label.Builder |
builder() |
|
Float |
confidence() |
Level of confidence.
|
boolean |
equals(Object obj) |
|
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() |
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.