@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConnectedHomeSettingsForUpdate extends Object implements Serializable, Cloneable, StructuredPojo
The label detection settings you want to use in your stream processor. This includes the labels you want the stream processor to detect and the minimum confidence level allowed to label objects.
Constructor and Description |
---|
ConnectedHomeSettingsForUpdate() |
Modifier and Type | Method and Description |
---|---|
ConnectedHomeSettingsForUpdate |
clone() |
boolean |
equals(Object obj) |
List<String> |
getLabels()
Specifies what you want to detect in the video, such as people, packages, or pets.
|
Float |
getMinConfidence()
The minimum confidence required to label an object in the video.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setLabels(Collection<String> labels)
Specifies what you want to detect in the video, such as people, packages, or pets.
|
void |
setMinConfidence(Float minConfidence)
The minimum confidence required to label an object in the video.
|
String |
toString()
Returns a string representation of this object.
|
ConnectedHomeSettingsForUpdate |
withLabels(Collection<String> labels)
Specifies what you want to detect in the video, such as people, packages, or pets.
|
ConnectedHomeSettingsForUpdate |
withLabels(String... labels)
Specifies what you want to detect in the video, such as people, packages, or pets.
|
ConnectedHomeSettingsForUpdate |
withMinConfidence(Float minConfidence)
The minimum confidence required to label an object in the video.
|
public List<String> getLabels()
Specifies what you want to detect in the video, such as people, packages, or pets. The current valid labels you can include in this list are: "PERSON", "PET", "PACKAGE", and "ALL".
public void setLabels(Collection<String> labels)
Specifies what you want to detect in the video, such as people, packages, or pets. The current valid labels you can include in this list are: "PERSON", "PET", "PACKAGE", and "ALL".
labels
- Specifies what you want to detect in the video, such as people, packages, or pets. The current valid
labels you can include in this list are: "PERSON", "PET", "PACKAGE", and "ALL".public ConnectedHomeSettingsForUpdate withLabels(String... labels)
Specifies what you want to detect in the video, such as people, packages, or pets. The current valid labels you can include in this list are: "PERSON", "PET", "PACKAGE", and "ALL".
NOTE: This method appends the values to the existing list (if any). Use
setLabels(java.util.Collection)
or withLabels(java.util.Collection)
if you want to override the
existing values.
labels
- Specifies what you want to detect in the video, such as people, packages, or pets. The current valid
labels you can include in this list are: "PERSON", "PET", "PACKAGE", and "ALL".public ConnectedHomeSettingsForUpdate withLabels(Collection<String> labels)
Specifies what you want to detect in the video, such as people, packages, or pets. The current valid labels you can include in this list are: "PERSON", "PET", "PACKAGE", and "ALL".
labels
- Specifies what you want to detect in the video, such as people, packages, or pets. The current valid
labels you can include in this list are: "PERSON", "PET", "PACKAGE", and "ALL".public void setMinConfidence(Float minConfidence)
The minimum confidence required to label an object in the video.
minConfidence
- The minimum confidence required to label an object in the video.public Float getMinConfidence()
The minimum confidence required to label an object in the video.
public ConnectedHomeSettingsForUpdate withMinConfidence(Float minConfidence)
The minimum confidence required to label an object in the video.
minConfidence
- The minimum confidence required to label an object in the video.public String toString()
toString
in class Object
Object.toString()
public ConnectedHomeSettingsForUpdate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.