Class LabelingJobDataSource
- java.lang.Object
-
- software.amazon.awssdk.services.sagemaker.model.LabelingJobDataSource
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<LabelingJobDataSource.Builder,LabelingJobDataSource>
@Generated("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
orSnsDataSource
.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 anS3DataSource
is optional if you useSnsDataSource
to create a streaming labeling job.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
LabelingJobDataSource.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
s3DataSource
public final LabelingJobS3DataSource s3DataSource()
The Amazon S3 location of the input data objects.
- Returns:
- The Amazon S3 location of the input data objects.
-
snsDataSource
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.
- Returns:
- An Amazon SNS data source used for streaming labeling jobs. To learn more, see Send Data to a Streaming Labeling Job.
-
toBuilder
public LabelingJobDataSource.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<LabelingJobDataSource.Builder,LabelingJobDataSource>
-
builder
public static LabelingJobDataSource.Builder builder()
-
serializableBuilderClass
public static Class<? extends LabelingJobDataSource.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-