Struct aws_sdk_lexmodelsv2::operation::start_test_set_generation::builders::StartTestSetGenerationInputBuilder
source · #[non_exhaustive]pub struct StartTestSetGenerationInputBuilder { /* private fields */ }Expand description
A builder for StartTestSetGenerationInput.
Implementations§
source§impl StartTestSetGenerationInputBuilder
impl StartTestSetGenerationInputBuilder
sourcepub fn test_set_name(self, input: impl Into<String>) -> Self
pub fn test_set_name(self, input: impl Into<String>) -> Self
The test set name for the test set generation request.
This field is required.sourcepub fn set_test_set_name(self, input: Option<String>) -> Self
pub fn set_test_set_name(self, input: Option<String>) -> Self
The test set name for the test set generation request.
sourcepub fn get_test_set_name(&self) -> &Option<String>
pub fn get_test_set_name(&self) -> &Option<String>
The test set name for the test set generation request.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The test set description for the test set generation request.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The test set description for the test set generation request.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The test set description for the test set generation request.
sourcepub fn storage_location(self, input: TestSetStorageLocation) -> Self
pub fn storage_location(self, input: TestSetStorageLocation) -> Self
The Amazon S3 storage location for the test set generation.
This field is required.sourcepub fn set_storage_location(self, input: Option<TestSetStorageLocation>) -> Self
pub fn set_storage_location(self, input: Option<TestSetStorageLocation>) -> Self
The Amazon S3 storage location for the test set generation.
sourcepub fn get_storage_location(&self) -> &Option<TestSetStorageLocation>
pub fn get_storage_location(&self) -> &Option<TestSetStorageLocation>
The Amazon S3 storage location for the test set generation.
sourcepub fn generation_data_source(self, input: TestSetGenerationDataSource) -> Self
pub fn generation_data_source(self, input: TestSetGenerationDataSource) -> Self
The data source for the test set generation.
This field is required.sourcepub fn set_generation_data_source(
self,
input: Option<TestSetGenerationDataSource>
) -> Self
pub fn set_generation_data_source( self, input: Option<TestSetGenerationDataSource> ) -> Self
The data source for the test set generation.
sourcepub fn get_generation_data_source(&self) -> &Option<TestSetGenerationDataSource>
pub fn get_generation_data_source(&self) -> &Option<TestSetGenerationDataSource>
The data source for the test set generation.
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
The roleARN used for any operation in the test set to access resources in the Amazon Web Services account.
This field is required.sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
The roleARN used for any operation in the test set to access resources in the Amazon Web Services account.
sourcepub fn get_role_arn(&self) -> &Option<String>
pub fn get_role_arn(&self) -> &Option<String>
The roleARN used for any operation in the test set to access resources in the Amazon Web Services account.
Adds a key-value pair to test_set_tags.
To override the contents of this collection use set_test_set_tags.
A list of tags to add to the test set. You can only add tags when you import/generate a new test set. You can't use the UpdateTestSet operation to update tags. To update tags, use the TagResource operation.
A list of tags to add to the test set. You can only add tags when you import/generate a new test set. You can't use the UpdateTestSet operation to update tags. To update tags, use the TagResource operation.
A list of tags to add to the test set. You can only add tags when you import/generate a new test set. You can't use the UpdateTestSet operation to update tags. To update tags, use the TagResource operation.
sourcepub fn build(self) -> Result<StartTestSetGenerationInput, BuildError>
pub fn build(self) -> Result<StartTestSetGenerationInput, BuildError>
Consumes the builder and constructs a StartTestSetGenerationInput.
source§impl StartTestSetGenerationInputBuilder
impl StartTestSetGenerationInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<StartTestSetGenerationOutput, SdkError<StartTestSetGenerationError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<StartTestSetGenerationOutput, SdkError<StartTestSetGenerationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for StartTestSetGenerationInputBuilder
impl Clone for StartTestSetGenerationInputBuilder
source§fn clone(&self) -> StartTestSetGenerationInputBuilder
fn clone(&self) -> StartTestSetGenerationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for StartTestSetGenerationInputBuilder
impl Default for StartTestSetGenerationInputBuilder
source§fn default() -> StartTestSetGenerationInputBuilder
fn default() -> StartTestSetGenerationInputBuilder
source§impl PartialEq for StartTestSetGenerationInputBuilder
impl PartialEq for StartTestSetGenerationInputBuilder
source§fn eq(&self, other: &StartTestSetGenerationInputBuilder) -> bool
fn eq(&self, other: &StartTestSetGenerationInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for StartTestSetGenerationInputBuilder
Auto Trait Implementations§
impl Freeze for StartTestSetGenerationInputBuilder
impl RefUnwindSafe for StartTestSetGenerationInputBuilder
impl Send for StartTestSetGenerationInputBuilder
impl Sync for StartTestSetGenerationInputBuilder
impl Unpin for StartTestSetGenerationInputBuilder
impl UnwindSafe for StartTestSetGenerationInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more