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 ==
.