@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, wait
copy
public LabelingJobS3DataSource s3DataSource()
The Amazon S3 location of the input data objects.
public LabelingJobSnsDataSource snsDataSource()
An Amazon SNS data source used for streaming labeling jobs.
public LabelingJobDataSource.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<LabelingJobDataSource.Builder,LabelingJobDataSource>
public static LabelingJobDataSource.Builder builder()
public static Class<? extends LabelingJobDataSource.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
Copyright © 2020. All rights reserved.