Struct aws_sdk_codedeploy::operation::batch_get_on_premises_instances::builders::BatchGetOnPremisesInstancesInputBuilder
source · #[non_exhaustive]pub struct BatchGetOnPremisesInstancesInputBuilder { /* private fields */ }
Expand description
A builder for BatchGetOnPremisesInstancesInput
.
Implementations§
source§impl BatchGetOnPremisesInstancesInputBuilder
impl BatchGetOnPremisesInstancesInputBuilder
sourcepub fn instance_names(self, input: impl Into<String>) -> Self
pub fn instance_names(self, input: impl Into<String>) -> Self
Appends an item to instance_names
.
To override the contents of this collection use set_instance_names
.
The names of the on-premises instances about which to get information. The maximum number of instance names you can specify is 25.
sourcepub fn set_instance_names(self, input: Option<Vec<String>>) -> Self
pub fn set_instance_names(self, input: Option<Vec<String>>) -> Self
The names of the on-premises instances about which to get information. The maximum number of instance names you can specify is 25.
sourcepub fn get_instance_names(&self) -> &Option<Vec<String>>
pub fn get_instance_names(&self) -> &Option<Vec<String>>
The names of the on-premises instances about which to get information. The maximum number of instance names you can specify is 25.
sourcepub fn build(self) -> Result<BatchGetOnPremisesInstancesInput, BuildError>
pub fn build(self) -> Result<BatchGetOnPremisesInstancesInput, BuildError>
Consumes the builder and constructs a BatchGetOnPremisesInstancesInput
.
source§impl BatchGetOnPremisesInstancesInputBuilder
impl BatchGetOnPremisesInstancesInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<BatchGetOnPremisesInstancesOutput, SdkError<BatchGetOnPremisesInstancesError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<BatchGetOnPremisesInstancesOutput, SdkError<BatchGetOnPremisesInstancesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for BatchGetOnPremisesInstancesInputBuilder
impl Clone for BatchGetOnPremisesInstancesInputBuilder
source§fn clone(&self) -> BatchGetOnPremisesInstancesInputBuilder
fn clone(&self) -> BatchGetOnPremisesInstancesInputBuilder
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 BatchGetOnPremisesInstancesInputBuilder
impl Default for BatchGetOnPremisesInstancesInputBuilder
source§fn default() -> BatchGetOnPremisesInstancesInputBuilder
fn default() -> BatchGetOnPremisesInstancesInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for BatchGetOnPremisesInstancesInputBuilder
impl PartialEq for BatchGetOnPremisesInstancesInputBuilder
source§fn eq(&self, other: &BatchGetOnPremisesInstancesInputBuilder) -> bool
fn eq(&self, other: &BatchGetOnPremisesInstancesInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BatchGetOnPremisesInstancesInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for BatchGetOnPremisesInstancesInputBuilder
impl Send for BatchGetOnPremisesInstancesInputBuilder
impl Sync for BatchGetOnPremisesInstancesInputBuilder
impl Unpin for BatchGetOnPremisesInstancesInputBuilder
impl UnwindSafe for BatchGetOnPremisesInstancesInputBuilder
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.