pub struct Builder { /* private fields */ }
Expand description
A builder for LabelingJobS3DataSource
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn manifest_s3_uri(self, input: impl Into<String>) -> Self
pub fn manifest_s3_uri(self, input: impl Into<String>) -> Self
The Amazon S3 location of the manifest file that describes the input data objects.
The input manifest file referenced in ManifestS3Uri
must contain one of the following keys: source-ref
or source
. The value of the keys are interpreted as follows:
-
source-ref
: The source of the object is the Amazon S3 object specified in the value. Use this value when the object is a binary object, such as an image. -
source
: The source of the object is the value. Use this value when the object is a text value.
If you are a new user of Ground Truth, it is recommended you review Use an Input Manifest File in the Amazon SageMaker Developer Guide to learn how to create an input manifest file.
sourcepub fn set_manifest_s3_uri(self, input: Option<String>) -> Self
pub fn set_manifest_s3_uri(self, input: Option<String>) -> Self
The Amazon S3 location of the manifest file that describes the input data objects.
The input manifest file referenced in ManifestS3Uri
must contain one of the following keys: source-ref
or source
. The value of the keys are interpreted as follows:
-
source-ref
: The source of the object is the Amazon S3 object specified in the value. Use this value when the object is a binary object, such as an image. -
source
: The source of the object is the value. Use this value when the object is a text value.
If you are a new user of Ground Truth, it is recommended you review Use an Input Manifest File in the Amazon SageMaker Developer Guide to learn how to create an input manifest file.
sourcepub fn build(self) -> LabelingJobS3DataSource
pub fn build(self) -> LabelingJobS3DataSource
Consumes the builder and constructs a LabelingJobS3DataSource
.