@Generated(value="software.amazon.awssdk:codegen") public final class LabelingJobDataSource extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LabelingJobDataSource.Builder,LabelingJobDataSource>
Provides information about the location of input data.
You must specify at least one of the following: S3DataSource or SnsDataSource.
Use SnsDataSource to specify an SNS input topic for a streaming labeling job. If you do not specify and
SNS input topic ARN, Ground Truth will create a one-time labeling job.
Use S3DataSource to specify an input manifest file for both streaming and one-time labeling jobs. Adding
an S3DataSource is optional if you use SnsDataSource to create a streaming labeling job.
| Modifier and Type | Class and Description |
|---|---|
static interface |
LabelingJobDataSource.Builder |
| Modifier and Type | Method and Description |
|---|---|
static LabelingJobDataSource.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
LabelingJobS3DataSource |
s3DataSource()
The Amazon S3 location of the input data objects.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends LabelingJobDataSource.Builder> |
serializableBuilderClass() |
LabelingJobSnsDataSource |
snsDataSource()
An Amazon SNS data source used for streaming labeling jobs.
|
LabelingJobDataSource.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final LabelingJobS3DataSource s3DataSource()
The Amazon S3 location of the input data objects.
public final LabelingJobSnsDataSource snsDataSource()
An Amazon SNS data source used for streaming labeling jobs. To learn more, see Send Data to a Streaming Labeling Job.
public LabelingJobDataSource.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<LabelingJobDataSource.Builder,LabelingJobDataSource>public static LabelingJobDataSource.Builder builder()
public static Class<? extends LabelingJobDataSource.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.