pub struct UpdateBuildFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateBuild
.
Updates metadata in a build resource, including the build name and version. To update the metadata, specify the build ID to update and provide the new values. If successful, a build object containing the updated metadata is returned.
Learn more
Implementations§
source§impl UpdateBuildFluentBuilder
impl UpdateBuildFluentBuilder
sourcepub fn as_input(&self) -> &UpdateBuildInputBuilder
pub fn as_input(&self) -> &UpdateBuildInputBuilder
Access the UpdateBuild as a reference.
sourcepub async fn send(
self
) -> Result<UpdateBuildOutput, SdkError<UpdateBuildError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateBuildOutput, SdkError<UpdateBuildError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<UpdateBuildOutput, UpdateBuildError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateBuildOutput, UpdateBuildError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
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.
Trait Implementations§
source§impl Clone for UpdateBuildFluentBuilder
impl Clone for UpdateBuildFluentBuilder
source§fn clone(&self) -> UpdateBuildFluentBuilder
fn clone(&self) -> UpdateBuildFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more