Struct aws_sdk_athena::operation::put_capacity_assignment_configuration::PutCapacityAssignmentConfigurationInput
source · #[non_exhaustive]pub struct PutCapacityAssignmentConfigurationInput {
pub capacity_reservation_name: Option<String>,
pub capacity_assignments: Option<Vec<CapacityAssignment>>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.capacity_reservation_name: Option<String>The name of the capacity reservation to put a capacity assignment configuration for.
capacity_assignments: Option<Vec<CapacityAssignment>>The list of assignments for the capacity assignment configuration.
Implementations§
source§impl PutCapacityAssignmentConfigurationInput
impl PutCapacityAssignmentConfigurationInput
sourcepub fn capacity_reservation_name(&self) -> Option<&str>
pub fn capacity_reservation_name(&self) -> Option<&str>
The name of the capacity reservation to put a capacity assignment configuration for.
sourcepub fn capacity_assignments(&self) -> Option<&[CapacityAssignment]>
pub fn capacity_assignments(&self) -> Option<&[CapacityAssignment]>
The list of assignments for the capacity assignment configuration.
source§impl PutCapacityAssignmentConfigurationInput
impl PutCapacityAssignmentConfigurationInput
sourcepub fn builder() -> PutCapacityAssignmentConfigurationInputBuilder
pub fn builder() -> PutCapacityAssignmentConfigurationInputBuilder
Creates a new builder-style object to manufacture PutCapacityAssignmentConfigurationInput.
Trait Implementations§
source§impl Clone for PutCapacityAssignmentConfigurationInput
impl Clone for PutCapacityAssignmentConfigurationInput
source§fn clone(&self) -> PutCapacityAssignmentConfigurationInput
fn clone(&self) -> PutCapacityAssignmentConfigurationInput
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 PartialEq<PutCapacityAssignmentConfigurationInput> for PutCapacityAssignmentConfigurationInput
impl PartialEq<PutCapacityAssignmentConfigurationInput> for PutCapacityAssignmentConfigurationInput
source§fn eq(&self, other: &PutCapacityAssignmentConfigurationInput) -> bool
fn eq(&self, other: &PutCapacityAssignmentConfigurationInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for PutCapacityAssignmentConfigurationInput
Auto Trait Implementations§
impl RefUnwindSafe for PutCapacityAssignmentConfigurationInput
impl Send for PutCapacityAssignmentConfigurationInput
impl Sync for PutCapacityAssignmentConfigurationInput
impl Unpin for PutCapacityAssignmentConfigurationInput
impl UnwindSafe for PutCapacityAssignmentConfigurationInput
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