@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartSegmentDetectionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
StartSegmentDetectionRequest() |
Modifier and Type | Method and Description |
---|---|
StartSegmentDetectionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientRequestToken()
Idempotent token used to identify the start request.
|
StartSegmentDetectionFilters |
getFilters()
Filters for technical cue or shot detection.
|
String |
getJobTag()
An identifier you specify that's returned in the completion notification that's published to your Amazon Simple
Notification Service topic.
|
NotificationChannel |
getNotificationChannel()
The ARN of the Amazon SNS topic to which you want Amazon Rekognition Video to publish the completion status of
the segment detection operation.
|
List<String> |
getSegmentTypes()
An array of segment types to detect in the video.
|
Video |
getVideo() |
int |
hashCode() |
void |
setClientRequestToken(String clientRequestToken)
Idempotent token used to identify the start request.
|
void |
setFilters(StartSegmentDetectionFilters filters)
Filters for technical cue or shot detection.
|
void |
setJobTag(String jobTag)
An identifier you specify that's returned in the completion notification that's published to your Amazon Simple
Notification Service topic.
|
void |
setNotificationChannel(NotificationChannel notificationChannel)
The ARN of the Amazon SNS topic to which you want Amazon Rekognition Video to publish the completion status of
the segment detection operation.
|
void |
setSegmentTypes(Collection<String> segmentTypes)
An array of segment types to detect in the video.
|
void |
setVideo(Video video) |
String |
toString()
Returns a string representation of this object.
|
StartSegmentDetectionRequest |
withClientRequestToken(String clientRequestToken)
Idempotent token used to identify the start request.
|
StartSegmentDetectionRequest |
withFilters(StartSegmentDetectionFilters filters)
Filters for technical cue or shot detection.
|
StartSegmentDetectionRequest |
withJobTag(String jobTag)
An identifier you specify that's returned in the completion notification that's published to your Amazon Simple
Notification Service topic.
|
StartSegmentDetectionRequest |
withNotificationChannel(NotificationChannel notificationChannel)
The ARN of the Amazon SNS topic to which you want Amazon Rekognition Video to publish the completion status of
the segment detection operation.
|
StartSegmentDetectionRequest |
withSegmentTypes(Collection<String> segmentTypes)
An array of segment types to detect in the video.
|
StartSegmentDetectionRequest |
withSegmentTypes(SegmentType... segmentTypes)
An array of segment types to detect in the video.
|
StartSegmentDetectionRequest |
withSegmentTypes(String... segmentTypes)
An array of segment types to detect in the video.
|
StartSegmentDetectionRequest |
withVideo(Video video) |
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setVideo(Video video)
video
- public Video getVideo()
public StartSegmentDetectionRequest withVideo(Video video)
video
- public void setClientRequestToken(String clientRequestToken)
Idempotent token used to identify the start request. If you use the same token with multiple
StartSegmentDetection
requests, the same JobId
is returned. Use
ClientRequestToken
to prevent the same job from being accidently started more than once.
clientRequestToken
- Idempotent token used to identify the start request. If you use the same token with multiple
StartSegmentDetection
requests, the same JobId
is returned. Use
ClientRequestToken
to prevent the same job from being accidently started more than once.public String getClientRequestToken()
Idempotent token used to identify the start request. If you use the same token with multiple
StartSegmentDetection
requests, the same JobId
is returned. Use
ClientRequestToken
to prevent the same job from being accidently started more than once.
StartSegmentDetection
requests, the same JobId
is returned. Use
ClientRequestToken
to prevent the same job from being accidently started more than once.public StartSegmentDetectionRequest withClientRequestToken(String clientRequestToken)
Idempotent token used to identify the start request. If you use the same token with multiple
StartSegmentDetection
requests, the same JobId
is returned. Use
ClientRequestToken
to prevent the same job from being accidently started more than once.
clientRequestToken
- Idempotent token used to identify the start request. If you use the same token with multiple
StartSegmentDetection
requests, the same JobId
is returned. Use
ClientRequestToken
to prevent the same job from being accidently started more than once.public void setNotificationChannel(NotificationChannel notificationChannel)
The ARN of the Amazon SNS topic to which you want Amazon Rekognition Video to publish the completion status of the segment detection operation. Note that the Amazon SNS topic must have a topic name that begins with AmazonRekognition if you are using the AmazonRekognitionServiceRole permissions policy to access the topic.
notificationChannel
- The ARN of the Amazon SNS topic to which you want Amazon Rekognition Video to publish the completion
status of the segment detection operation. Note that the Amazon SNS topic must have a topic name that
begins with AmazonRekognition if you are using the AmazonRekognitionServiceRole permissions policy
to access the topic.public NotificationChannel getNotificationChannel()
The ARN of the Amazon SNS topic to which you want Amazon Rekognition Video to publish the completion status of the segment detection operation. Note that the Amazon SNS topic must have a topic name that begins with AmazonRekognition if you are using the AmazonRekognitionServiceRole permissions policy to access the topic.
public StartSegmentDetectionRequest withNotificationChannel(NotificationChannel notificationChannel)
The ARN of the Amazon SNS topic to which you want Amazon Rekognition Video to publish the completion status of the segment detection operation. Note that the Amazon SNS topic must have a topic name that begins with AmazonRekognition if you are using the AmazonRekognitionServiceRole permissions policy to access the topic.
notificationChannel
- The ARN of the Amazon SNS topic to which you want Amazon Rekognition Video to publish the completion
status of the segment detection operation. Note that the Amazon SNS topic must have a topic name that
begins with AmazonRekognition if you are using the AmazonRekognitionServiceRole permissions policy
to access the topic.public void setJobTag(String jobTag)
An identifier you specify that's returned in the completion notification that's published to your Amazon Simple
Notification Service topic. For example, you can use JobTag
to group related jobs and identify them
in the completion notification.
jobTag
- An identifier you specify that's returned in the completion notification that's published to your Amazon
Simple Notification Service topic. For example, you can use JobTag
to group related jobs and
identify them in the completion notification.public String getJobTag()
An identifier you specify that's returned in the completion notification that's published to your Amazon Simple
Notification Service topic. For example, you can use JobTag
to group related jobs and identify them
in the completion notification.
JobTag
to group related jobs and
identify them in the completion notification.public StartSegmentDetectionRequest withJobTag(String jobTag)
An identifier you specify that's returned in the completion notification that's published to your Amazon Simple
Notification Service topic. For example, you can use JobTag
to group related jobs and identify them
in the completion notification.
jobTag
- An identifier you specify that's returned in the completion notification that's published to your Amazon
Simple Notification Service topic. For example, you can use JobTag
to group related jobs and
identify them in the completion notification.public void setFilters(StartSegmentDetectionFilters filters)
Filters for technical cue or shot detection.
filters
- Filters for technical cue or shot detection.public StartSegmentDetectionFilters getFilters()
Filters for technical cue or shot detection.
public StartSegmentDetectionRequest withFilters(StartSegmentDetectionFilters filters)
Filters for technical cue or shot detection.
filters
- Filters for technical cue or shot detection.public List<String> getSegmentTypes()
An array of segment types to detect in the video. Valid values are TECHNICAL_CUE and SHOT.
SegmentType
public void setSegmentTypes(Collection<String> segmentTypes)
An array of segment types to detect in the video. Valid values are TECHNICAL_CUE and SHOT.
segmentTypes
- An array of segment types to detect in the video. Valid values are TECHNICAL_CUE and SHOT.SegmentType
public StartSegmentDetectionRequest withSegmentTypes(String... segmentTypes)
An array of segment types to detect in the video. Valid values are TECHNICAL_CUE and SHOT.
NOTE: This method appends the values to the existing list (if any). Use
setSegmentTypes(java.util.Collection)
or withSegmentTypes(java.util.Collection)
if you want to
override the existing values.
segmentTypes
- An array of segment types to detect in the video. Valid values are TECHNICAL_CUE and SHOT.SegmentType
public StartSegmentDetectionRequest withSegmentTypes(Collection<String> segmentTypes)
An array of segment types to detect in the video. Valid values are TECHNICAL_CUE and SHOT.
segmentTypes
- An array of segment types to detect in the video. Valid values are TECHNICAL_CUE and SHOT.SegmentType
public StartSegmentDetectionRequest withSegmentTypes(SegmentType... segmentTypes)
An array of segment types to detect in the video. Valid values are TECHNICAL_CUE and SHOT.
segmentTypes
- An array of segment types to detect in the video. Valid values are TECHNICAL_CUE and SHOT.SegmentType
public String toString()
toString
in class Object
Object.toString()
public StartSegmentDetectionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()