Struct aws_sdk_lookoutvision::operation::update_dataset_entries::builders::UpdateDatasetEntriesInputBuilder
source · #[non_exhaustive]pub struct UpdateDatasetEntriesInputBuilder { /* private fields */ }Expand description
A builder for UpdateDatasetEntriesInput.
Implementations§
source§impl UpdateDatasetEntriesInputBuilder
impl UpdateDatasetEntriesInputBuilder
sourcepub fn project_name(self, input: impl Into<String>) -> Self
pub fn project_name(self, input: impl Into<String>) -> Self
The name of the project that contains the dataset that you want to update.
This field is required.sourcepub fn set_project_name(self, input: Option<String>) -> Self
pub fn set_project_name(self, input: Option<String>) -> Self
The name of the project that contains the dataset that you want to update.
sourcepub fn get_project_name(&self) -> &Option<String>
pub fn get_project_name(&self) -> &Option<String>
The name of the project that contains the dataset that you want to update.
sourcepub fn dataset_type(self, input: impl Into<String>) -> Self
pub fn dataset_type(self, input: impl Into<String>) -> Self
The type of the dataset that you want to update. Specify train to update the training dataset. Specify test to update the test dataset. If you have a single dataset project, specify train.
sourcepub fn set_dataset_type(self, input: Option<String>) -> Self
pub fn set_dataset_type(self, input: Option<String>) -> Self
The type of the dataset that you want to update. Specify train to update the training dataset. Specify test to update the test dataset. If you have a single dataset project, specify train.
sourcepub fn get_dataset_type(&self) -> &Option<String>
pub fn get_dataset_type(&self) -> &Option<String>
The type of the dataset that you want to update. Specify train to update the training dataset. Specify test to update the test dataset. If you have a single dataset project, specify train.
sourcepub fn changes(self, input: Blob) -> Self
pub fn changes(self, input: Blob) -> Self
The entries to add to the dataset.
This field is required.sourcepub fn set_changes(self, input: Option<Blob>) -> Self
pub fn set_changes(self, input: Option<Blob>) -> Self
The entries to add to the dataset.
sourcepub fn get_changes(&self) -> &Option<Blob>
pub fn get_changes(&self) -> &Option<Blob>
The entries to add to the dataset.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
ClientToken is an idempotency token that ensures a call to UpdateDatasetEntries completes only once. You choose the value to pass. For example, An issue might prevent you from getting a response from UpdateDatasetEntries. In this case, safely retry your call to UpdateDatasetEntries by using the same ClientToken parameter value.
If you don't supply a value for ClientToken, the AWS SDK you are using inserts a value for you. This prevents retries after a network error from making multiple updates with the same dataset entries. You'll need to provide your own value for other use cases.
An error occurs if the other input parameters are not the same as in the first request. Using a different value for ClientToken is considered a new call to UpdateDatasetEntries. An idempotency token is active for 8 hours.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
ClientToken is an idempotency token that ensures a call to UpdateDatasetEntries completes only once. You choose the value to pass. For example, An issue might prevent you from getting a response from UpdateDatasetEntries. In this case, safely retry your call to UpdateDatasetEntries by using the same ClientToken parameter value.
If you don't supply a value for ClientToken, the AWS SDK you are using inserts a value for you. This prevents retries after a network error from making multiple updates with the same dataset entries. You'll need to provide your own value for other use cases.
An error occurs if the other input parameters are not the same as in the first request. Using a different value for ClientToken is considered a new call to UpdateDatasetEntries. An idempotency token is active for 8 hours.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
ClientToken is an idempotency token that ensures a call to UpdateDatasetEntries completes only once. You choose the value to pass. For example, An issue might prevent you from getting a response from UpdateDatasetEntries. In this case, safely retry your call to UpdateDatasetEntries by using the same ClientToken parameter value.
If you don't supply a value for ClientToken, the AWS SDK you are using inserts a value for you. This prevents retries after a network error from making multiple updates with the same dataset entries. You'll need to provide your own value for other use cases.
An error occurs if the other input parameters are not the same as in the first request. Using a different value for ClientToken is considered a new call to UpdateDatasetEntries. An idempotency token is active for 8 hours.
sourcepub fn build(self) -> Result<UpdateDatasetEntriesInput, BuildError>
pub fn build(self) -> Result<UpdateDatasetEntriesInput, BuildError>
Consumes the builder and constructs a UpdateDatasetEntriesInput.
source§impl UpdateDatasetEntriesInputBuilder
impl UpdateDatasetEntriesInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateDatasetEntriesOutput, SdkError<UpdateDatasetEntriesError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateDatasetEntriesOutput, SdkError<UpdateDatasetEntriesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateDatasetEntriesInputBuilder
impl Clone for UpdateDatasetEntriesInputBuilder
source§fn clone(&self) -> UpdateDatasetEntriesInputBuilder
fn clone(&self) -> UpdateDatasetEntriesInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for UpdateDatasetEntriesInputBuilder
impl Default for UpdateDatasetEntriesInputBuilder
source§fn default() -> UpdateDatasetEntriesInputBuilder
fn default() -> UpdateDatasetEntriesInputBuilder
source§impl PartialEq for UpdateDatasetEntriesInputBuilder
impl PartialEq for UpdateDatasetEntriesInputBuilder
source§fn eq(&self, other: &UpdateDatasetEntriesInputBuilder) -> bool
fn eq(&self, other: &UpdateDatasetEntriesInputBuilder) -> bool
self and other values to be equal, and is used
by ==.