#[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.
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 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 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 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 build(self) -> Result<UpdateUploadInput, BuildError>
pub fn build(self) -> Result<UpdateUploadInput, BuildError>
Consumes the builder and constructs a UpdateUploadInput.
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<UpdateUploadInputBuilder> for UpdateUploadInputBuilder
impl PartialEq<UpdateUploadInputBuilder> 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 ==.