Struct aws_sdk_codedeploy::operation::get_application_revision::builders::GetApplicationRevisionInputBuilder
source · #[non_exhaustive]pub struct GetApplicationRevisionInputBuilder { /* private fields */ }
Expand description
A builder for GetApplicationRevisionInput
.
Implementations§
source§impl GetApplicationRevisionInputBuilder
impl GetApplicationRevisionInputBuilder
sourcepub fn application_name(self, input: impl Into<String>) -> Self
pub fn application_name(self, input: impl Into<String>) -> Self
The name of the application that corresponds to the revision.
This field is required.sourcepub fn set_application_name(self, input: Option<String>) -> Self
pub fn set_application_name(self, input: Option<String>) -> Self
The name of the application that corresponds to the revision.
sourcepub fn get_application_name(&self) -> &Option<String>
pub fn get_application_name(&self) -> &Option<String>
The name of the application that corresponds to the revision.
sourcepub fn revision(self, input: RevisionLocation) -> Self
pub fn revision(self, input: RevisionLocation) -> Self
Information about the application revision to get, including type and location.
This field is required.sourcepub fn set_revision(self, input: Option<RevisionLocation>) -> Self
pub fn set_revision(self, input: Option<RevisionLocation>) -> Self
Information about the application revision to get, including type and location.
sourcepub fn get_revision(&self) -> &Option<RevisionLocation>
pub fn get_revision(&self) -> &Option<RevisionLocation>
Information about the application revision to get, including type and location.
sourcepub fn build(self) -> Result<GetApplicationRevisionInput, BuildError>
pub fn build(self) -> Result<GetApplicationRevisionInput, BuildError>
Consumes the builder and constructs a GetApplicationRevisionInput
.
source§impl GetApplicationRevisionInputBuilder
impl GetApplicationRevisionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetApplicationRevisionOutput, SdkError<GetApplicationRevisionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetApplicationRevisionOutput, SdkError<GetApplicationRevisionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetApplicationRevisionInputBuilder
impl Clone for GetApplicationRevisionInputBuilder
source§fn clone(&self) -> GetApplicationRevisionInputBuilder
fn clone(&self) -> GetApplicationRevisionInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for GetApplicationRevisionInputBuilder
impl Default for GetApplicationRevisionInputBuilder
source§fn default() -> GetApplicationRevisionInputBuilder
fn default() -> GetApplicationRevisionInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetApplicationRevisionInputBuilder
impl PartialEq for GetApplicationRevisionInputBuilder
source§fn eq(&self, other: &GetApplicationRevisionInputBuilder) -> bool
fn eq(&self, other: &GetApplicationRevisionInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetApplicationRevisionInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for GetApplicationRevisionInputBuilder
impl Send for GetApplicationRevisionInputBuilder
impl Sync for GetApplicationRevisionInputBuilder
impl Unpin for GetApplicationRevisionInputBuilder
impl UnwindSafe for GetApplicationRevisionInputBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.