Struct aws_sdk_athena::operation::get_capacity_assignment_configuration::builders::GetCapacityAssignmentConfigurationInputBuilder
source · #[non_exhaustive]pub struct GetCapacityAssignmentConfigurationInputBuilder { /* private fields */ }Expand description
A builder for GetCapacityAssignmentConfigurationInput.
Implementations§
source§impl GetCapacityAssignmentConfigurationInputBuilder
impl GetCapacityAssignmentConfigurationInputBuilder
sourcepub fn capacity_reservation_name(self, input: impl Into<String>) -> Self
pub fn capacity_reservation_name(self, input: impl Into<String>) -> Self
The name of the capacity reservation to retrieve the capacity assignment configuration for.
This field is required.sourcepub fn set_capacity_reservation_name(self, input: Option<String>) -> Self
pub fn set_capacity_reservation_name(self, input: Option<String>) -> Self
The name of the capacity reservation to retrieve the capacity assignment configuration for.
sourcepub fn get_capacity_reservation_name(&self) -> &Option<String>
pub fn get_capacity_reservation_name(&self) -> &Option<String>
The name of the capacity reservation to retrieve the capacity assignment configuration for.
sourcepub fn build(
self
) -> Result<GetCapacityAssignmentConfigurationInput, BuildError>
pub fn build( self ) -> Result<GetCapacityAssignmentConfigurationInput, BuildError>
Consumes the builder and constructs a GetCapacityAssignmentConfigurationInput.
source§impl GetCapacityAssignmentConfigurationInputBuilder
impl GetCapacityAssignmentConfigurationInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetCapacityAssignmentConfigurationOutput, SdkError<GetCapacityAssignmentConfigurationError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetCapacityAssignmentConfigurationOutput, SdkError<GetCapacityAssignmentConfigurationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetCapacityAssignmentConfigurationInputBuilder
impl Clone for GetCapacityAssignmentConfigurationInputBuilder
source§fn clone(&self) -> GetCapacityAssignmentConfigurationInputBuilder
fn clone(&self) -> GetCapacityAssignmentConfigurationInputBuilder
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 GetCapacityAssignmentConfigurationInputBuilder
impl Default for GetCapacityAssignmentConfigurationInputBuilder
source§fn default() -> GetCapacityAssignmentConfigurationInputBuilder
fn default() -> GetCapacityAssignmentConfigurationInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetCapacityAssignmentConfigurationInputBuilder
impl PartialEq for GetCapacityAssignmentConfigurationInputBuilder
source§fn eq(&self, other: &GetCapacityAssignmentConfigurationInputBuilder) -> bool
fn eq(&self, other: &GetCapacityAssignmentConfigurationInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetCapacityAssignmentConfigurationInputBuilder
Auto Trait Implementations§
impl Freeze for GetCapacityAssignmentConfigurationInputBuilder
impl RefUnwindSafe for GetCapacityAssignmentConfigurationInputBuilder
impl Send for GetCapacityAssignmentConfigurationInputBuilder
impl Sync for GetCapacityAssignmentConfigurationInputBuilder
impl Unpin for GetCapacityAssignmentConfigurationInputBuilder
impl UnwindSafe for GetCapacityAssignmentConfigurationInputBuilder
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.