@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) |
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 ObjectObject.toString()public ContentType clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2025. All rights reserved.