#[non_exhaustive]pub struct EntityRecognizerAnnotationsBuilder { /* private fields */ }Expand description
A builder for EntityRecognizerAnnotations.
Implementations§
source§impl EntityRecognizerAnnotationsBuilder
impl EntityRecognizerAnnotationsBuilder
sourcepub fn s3_uri(self, input: impl Into<String>) -> Self
pub fn s3_uri(self, input: impl Into<String>) -> Self
Specifies the Amazon S3 location where the annotations for an entity recognizer are located. The URI must be in the same Region as the API endpoint that you are calling.
This field is required.sourcepub fn set_s3_uri(self, input: Option<String>) -> Self
pub fn set_s3_uri(self, input: Option<String>) -> Self
Specifies the Amazon S3 location where the annotations for an entity recognizer are located. The URI must be in the same Region as the API endpoint that you are calling.
sourcepub fn get_s3_uri(&self) -> &Option<String>
pub fn get_s3_uri(&self) -> &Option<String>
Specifies the Amazon S3 location where the annotations for an entity recognizer are located. The URI must be in the same Region as the API endpoint that you are calling.
sourcepub fn test_s3_uri(self, input: impl Into<String>) -> Self
pub fn test_s3_uri(self, input: impl Into<String>) -> Self
Specifies the Amazon S3 location where the test annotations for an entity recognizer are located. The URI must be in the same Region as the API endpoint that you are calling.
sourcepub fn set_test_s3_uri(self, input: Option<String>) -> Self
pub fn set_test_s3_uri(self, input: Option<String>) -> Self
Specifies the Amazon S3 location where the test annotations for an entity recognizer are located. The URI must be in the same Region as the API endpoint that you are calling.
sourcepub fn get_test_s3_uri(&self) -> &Option<String>
pub fn get_test_s3_uri(&self) -> &Option<String>
Specifies the Amazon S3 location where the test annotations for an entity recognizer are located. The URI must be in the same Region as the API endpoint that you are calling.
sourcepub fn build(self) -> Result<EntityRecognizerAnnotations, BuildError>
pub fn build(self) -> Result<EntityRecognizerAnnotations, BuildError>
Consumes the builder and constructs a EntityRecognizerAnnotations.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for EntityRecognizerAnnotationsBuilder
impl Clone for EntityRecognizerAnnotationsBuilder
source§fn clone(&self) -> EntityRecognizerAnnotationsBuilder
fn clone(&self) -> EntityRecognizerAnnotationsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for EntityRecognizerAnnotationsBuilder
impl Default for EntityRecognizerAnnotationsBuilder
source§fn default() -> EntityRecognizerAnnotationsBuilder
fn default() -> EntityRecognizerAnnotationsBuilder
source§impl PartialEq for EntityRecognizerAnnotationsBuilder
impl PartialEq for EntityRecognizerAnnotationsBuilder
source§fn eq(&self, other: &EntityRecognizerAnnotationsBuilder) -> bool
fn eq(&self, other: &EntityRecognizerAnnotationsBuilder) -> bool
self and other values to be equal, and is used
by ==.