#[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
source§fn eq(&self, other: &UpdateUploadInputBuilder) -> bool
fn eq(&self, other: &UpdateUploadInputBuilder) -> bool
self and other values to be equal, and is used
by ==.