#[non_exhaustive]pub struct UpdateUploadInputBuilder { /* private fields */ }Expand description
A builder for UpdateUploadInput.
Implementations§
source§impl UpdateUploadInputBuilder
impl UpdateUploadInputBuilder
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the uploaded test spec.
This field is required.sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the uploaded test spec.
sourcepub fn get_arn(&self) -> &Option<String>
pub fn get_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the uploaded test spec.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The upload's test spec file name. The name must not contain any forward slashes (/). The test spec file name must end with the .yaml or .yml file extension.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The upload's test spec file name. The name must not contain any forward slashes (/). The test spec file name must end with the .yaml or .yml file extension.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The upload's test spec file name. The name must not contain any forward slashes (/). The test spec file name must end with the .yaml or .yml file extension.
sourcepub fn content_type(self, input: impl Into<String>) -> Self
pub fn content_type(self, input: impl Into<String>) -> Self
The upload's content type (for example, application/x-yaml).
sourcepub fn set_content_type(self, input: Option<String>) -> Self
pub fn set_content_type(self, input: Option<String>) -> Self
The upload's content type (for example, application/x-yaml).
sourcepub fn get_content_type(&self) -> &Option<String>
pub fn get_content_type(&self) -> &Option<String>
The upload's content type (for example, application/x-yaml).
sourcepub fn edit_content(self, input: bool) -> Self
pub fn edit_content(self, input: bool) -> Self
Set to true if the YAML file has changed and must be updated. Otherwise, set to false.
sourcepub fn set_edit_content(self, input: Option<bool>) -> Self
pub fn set_edit_content(self, input: Option<bool>) -> Self
Set to true if the YAML file has changed and must be updated. Otherwise, set to false.
sourcepub fn get_edit_content(&self) -> &Option<bool>
pub fn get_edit_content(&self) -> &Option<bool>
Set to true if the YAML file has changed and must be updated. Otherwise, set to false.
sourcepub fn build(self) -> Result<UpdateUploadInput, BuildError>
pub fn build(self) -> Result<UpdateUploadInput, BuildError>
Consumes the builder and constructs a UpdateUploadInput.
source§impl UpdateUploadInputBuilder
impl UpdateUploadInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<UpdateUploadOutput, SdkError<UpdateUploadError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<UpdateUploadOutput, SdkError<UpdateUploadError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateUploadInputBuilder
impl Clone for UpdateUploadInputBuilder
source§fn clone(&self) -> UpdateUploadInputBuilder
fn clone(&self) -> UpdateUploadInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UpdateUploadInputBuilder
impl Debug for UpdateUploadInputBuilder
source§impl Default for UpdateUploadInputBuilder
impl Default for UpdateUploadInputBuilder
source§fn default() -> UpdateUploadInputBuilder
fn default() -> UpdateUploadInputBuilder
source§impl PartialEq for UpdateUploadInputBuilder
impl PartialEq for UpdateUploadInputBuilder
impl StructuralPartialEq for UpdateUploadInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateUploadInputBuilder
impl RefUnwindSafe for UpdateUploadInputBuilder
impl Send for UpdateUploadInputBuilder
impl Sync for UpdateUploadInputBuilder
impl Unpin for UpdateUploadInputBuilder
impl UnwindSafe for UpdateUploadInputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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