#[non_exhaustive]pub struct UpdateBuildInputBuilder { /* private fields */ }Expand description
A builder for UpdateBuildInput.
Implementations§
source§impl UpdateBuildInputBuilder
impl UpdateBuildInputBuilder
sourcepub fn build_id(self, input: impl Into<String>) -> Self
pub fn build_id(self, input: impl Into<String>) -> Self
A unique identifier for the build to update. You can use either the build ID or ARN value.
This field is required.sourcepub fn set_build_id(self, input: Option<String>) -> Self
pub fn set_build_id(self, input: Option<String>) -> Self
A unique identifier for the build to update. You can use either the build ID or ARN value.
sourcepub fn get_build_id(&self) -> &Option<String>
pub fn get_build_id(&self) -> &Option<String>
A unique identifier for the build to update. You can use either the build ID or ARN value.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
A descriptive label associated with a build. Build names don't need to be unique.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
A descriptive label associated with a build. Build names don't need to be unique.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
A descriptive label associated with a build. Build names don't need to be unique.
sourcepub fn version(self, input: impl Into<String>) -> Self
pub fn version(self, input: impl Into<String>) -> Self
Version information associated with a build or script. Version strings don't need to be unique.
sourcepub fn set_version(self, input: Option<String>) -> Self
pub fn set_version(self, input: Option<String>) -> Self
Version information associated with a build or script. Version strings don't need to be unique.
sourcepub fn get_version(&self) -> &Option<String>
pub fn get_version(&self) -> &Option<String>
Version information associated with a build or script. Version strings don't need to be unique.
sourcepub fn build(self) -> Result<UpdateBuildInput, BuildError>
pub fn build(self) -> Result<UpdateBuildInput, BuildError>
Consumes the builder and constructs a UpdateBuildInput.
source§impl UpdateBuildInputBuilder
impl UpdateBuildInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateBuildOutput, SdkError<UpdateBuildError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateBuildOutput, SdkError<UpdateBuildError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateBuildInputBuilder
impl Clone for UpdateBuildInputBuilder
source§fn clone(&self) -> UpdateBuildInputBuilder
fn clone(&self) -> UpdateBuildInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UpdateBuildInputBuilder
impl Debug for UpdateBuildInputBuilder
source§impl Default for UpdateBuildInputBuilder
impl Default for UpdateBuildInputBuilder
source§fn default() -> UpdateBuildInputBuilder
fn default() -> UpdateBuildInputBuilder
source§impl PartialEq for UpdateBuildInputBuilder
impl PartialEq for UpdateBuildInputBuilder
source§fn eq(&self, other: &UpdateBuildInputBuilder) -> bool
fn eq(&self, other: &UpdateBuildInputBuilder) -> bool
self and other values to be equal, and is used
by ==.