Struct aws_sdk_codedeploy::operation::batch_get_application_revisions::builders::BatchGetApplicationRevisionsInputBuilder
source · #[non_exhaustive]pub struct BatchGetApplicationRevisionsInputBuilder { /* private fields */ }Expand description
A builder for BatchGetApplicationRevisionsInput.
Implementations§
source§impl BatchGetApplicationRevisionsInputBuilder
impl BatchGetApplicationRevisionsInputBuilder
sourcepub fn application_name(self, input: impl Into<String>) -> Self
pub fn application_name(self, input: impl Into<String>) -> Self
The name of an CodeDeploy application about which to get revision information.
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 an CodeDeploy application about which to get revision information.
sourcepub fn get_application_name(&self) -> &Option<String>
pub fn get_application_name(&self) -> &Option<String>
The name of an CodeDeploy application about which to get revision information.
sourcepub fn revisions(self, input: RevisionLocation) -> Self
pub fn revisions(self, input: RevisionLocation) -> Self
Appends an item to revisions.
To override the contents of this collection use set_revisions.
An array of RevisionLocation objects that specify information to get about the application revisions, including type and location. The maximum number of RevisionLocation objects you can specify is 25.
sourcepub fn set_revisions(self, input: Option<Vec<RevisionLocation>>) -> Self
pub fn set_revisions(self, input: Option<Vec<RevisionLocation>>) -> Self
An array of RevisionLocation objects that specify information to get about the application revisions, including type and location. The maximum number of RevisionLocation objects you can specify is 25.
sourcepub fn get_revisions(&self) -> &Option<Vec<RevisionLocation>>
pub fn get_revisions(&self) -> &Option<Vec<RevisionLocation>>
An array of RevisionLocation objects that specify information to get about the application revisions, including type and location. The maximum number of RevisionLocation objects you can specify is 25.
sourcepub fn build(self) -> Result<BatchGetApplicationRevisionsInput, BuildError>
pub fn build(self) -> Result<BatchGetApplicationRevisionsInput, BuildError>
Consumes the builder and constructs a BatchGetApplicationRevisionsInput.
source§impl BatchGetApplicationRevisionsInputBuilder
impl BatchGetApplicationRevisionsInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<BatchGetApplicationRevisionsOutput, SdkError<BatchGetApplicationRevisionsError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<BatchGetApplicationRevisionsOutput, SdkError<BatchGetApplicationRevisionsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for BatchGetApplicationRevisionsInputBuilder
impl Clone for BatchGetApplicationRevisionsInputBuilder
source§fn clone(&self) -> BatchGetApplicationRevisionsInputBuilder
fn clone(&self) -> BatchGetApplicationRevisionsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for BatchGetApplicationRevisionsInputBuilder
impl Default for BatchGetApplicationRevisionsInputBuilder
source§fn default() -> BatchGetApplicationRevisionsInputBuilder
fn default() -> BatchGetApplicationRevisionsInputBuilder
source§impl PartialEq for BatchGetApplicationRevisionsInputBuilder
impl PartialEq for BatchGetApplicationRevisionsInputBuilder
source§fn eq(&self, other: &BatchGetApplicationRevisionsInputBuilder) -> bool
fn eq(&self, other: &BatchGetApplicationRevisionsInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for BatchGetApplicationRevisionsInputBuilder
Auto Trait Implementations§
impl Freeze for BatchGetApplicationRevisionsInputBuilder
impl RefUnwindSafe for BatchGetApplicationRevisionsInputBuilder
impl Send for BatchGetApplicationRevisionsInputBuilder
impl Sync for BatchGetApplicationRevisionsInputBuilder
impl Unpin for BatchGetApplicationRevisionsInputBuilder
impl UnwindSafe for BatchGetApplicationRevisionsInputBuilder
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more