@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ContentType extends Object implements Serializable, Cloneable, StructuredPojo
Contains information regarding the confidence and name of a detected content type.
Constructor and Description |
---|
ContentType() |
Modifier and Type | Method and Description |
---|---|
ContentType |
clone() |
boolean |
equals(Object obj) |
Float |
getConfidence()
The confidence level of the label given
|
String |
getName()
The name of the label
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setConfidence(Float confidence)
The confidence level of the label given
|
void |
setName(String name)
The name of the label
|
String |
toString()
Returns a string representation of this object.
|
ContentType |
withConfidence(Float confidence)
The confidence level of the label given
|
ContentType |
withName(String name)
The name of the label
|
public void setConfidence(Float confidence)
The confidence level of the label given
confidence
- The confidence level of the label givenpublic Float getConfidence()
The confidence level of the label given
public ContentType withConfidence(Float confidence)
The confidence level of the label given
confidence
- The confidence level of the label givenpublic void setName(String name)
The name of the label
name
- The name of the labelpublic String getName()
The name of the label
public ContentType withName(String name)
The name of the label
name
- The name of the labelpublic String toString()
toString
in class Object
Object.toString()
public ContentType clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.