public class SegmentTypeInfo
extends java.lang.Object
implements java.io.Serializable
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 |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getModelVersion()
The version of the model used to detect segments.
|
java.lang.String |
getType()
The type of a segment (technical cue or shot detection).
|
int |
hashCode() |
void |
setModelVersion(java.lang.String modelVersion)
The version of the model used to detect segments.
|
void |
setType(SegmentType type)
The type of a segment (technical cue or shot detection).
|
void |
setType(java.lang.String type)
The type of a segment (technical cue or shot detection).
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SegmentTypeInfo |
withModelVersion(java.lang.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(java.lang.String type)
The type of a segment (technical cue or shot detection).
|
public java.lang.String getType()
The type of a segment (technical cue or shot detection).
Constraints:
Allowed Values: TECHNICAL_CUE, SHOT
The type of a segment (technical cue or shot detection).
SegmentType
public void setType(java.lang.String type)
The type of a segment (technical cue or shot detection).
Constraints:
Allowed Values: TECHNICAL_CUE, SHOT
type
- The type of a segment (technical cue or shot detection).
SegmentType
public SegmentTypeInfo withType(java.lang.String type)
The type of a segment (technical cue or shot detection).
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: TECHNICAL_CUE, SHOT
type
- The type of a segment (technical cue or shot detection).
SegmentType
public void setType(SegmentType type)
The type of a segment (technical cue or shot detection).
Constraints:
Allowed Values: TECHNICAL_CUE, SHOT
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).
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: TECHNICAL_CUE, SHOT
type
- The type of a segment (technical cue or shot detection).
SegmentType
public java.lang.String getModelVersion()
The version of the model used to detect segments.
The version of the model used to detect segments.
public void setModelVersion(java.lang.String modelVersion)
The version of the model used to detect segments.
modelVersion
- The version of the model used to detect segments.
public SegmentTypeInfo withModelVersion(java.lang.String modelVersion)
The version of the model used to detect segments.
Returns a reference to this object so that method calls can be chained together.
modelVersion
- The version of the model used to detect segments.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.