@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SegmentTypeInfo extends Object implements Serializable, Cloneable, StructuredPojo
Information about the type of a segment requested in a call to StartSegmentDetection. An array of
SegmentTypeInfo
objects is returned by the response from GetSegmentDetection.
Constructor and Description |
---|
SegmentTypeInfo() |
Modifier and Type | Method and Description |
---|---|
SegmentTypeInfo |
clone() |
boolean |
equals(Object obj) |
String |
getModelVersion()
The version of the model used to detect segments.
|
String |
getType()
The type of a segment (technical cue or shot detection).
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setModelVersion(String modelVersion)
The version of the model used to detect segments.
|
void |
setType(String type)
The type of a segment (technical cue or shot detection).
|
String |
toString()
Returns a string representation of this object.
|
SegmentTypeInfo |
withModelVersion(String modelVersion)
The version of the model used to detect segments.
|
SegmentTypeInfo |
withType(SegmentType type)
The type of a segment (technical cue or shot detection).
|
SegmentTypeInfo |
withType(String type)
The type of a segment (technical cue or shot detection).
|
public void setType(String type)
The type of a segment (technical cue or shot detection).
type
- The type of a segment (technical cue or shot detection).SegmentType
public String getType()
The type of a segment (technical cue or shot detection).
SegmentType
public SegmentTypeInfo withType(String type)
The type of a segment (technical cue or shot detection).
type
- The type of a segment (technical cue or shot detection).SegmentType
public SegmentTypeInfo withType(SegmentType type)
The type of a segment (technical cue or shot detection).
type
- The type of a segment (technical cue or shot detection).SegmentType
public void setModelVersion(String modelVersion)
The version of the model used to detect segments.
modelVersion
- The version of the model used to detect segments.public String getModelVersion()
The version of the model used to detect segments.
public SegmentTypeInfo withModelVersion(String modelVersion)
The version of the model used to detect segments.
modelVersion
- The version of the model used to detect segments.public String toString()
toString
in class Object
Object.toString()
public SegmentTypeInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.