Struct aws_sdk_athena::types::builders::CapacityAssignmentBuilder
source · #[non_exhaustive]pub struct CapacityAssignmentBuilder { /* private fields */ }Expand description
A builder for CapacityAssignment.
Implementations§
source§impl CapacityAssignmentBuilder
impl CapacityAssignmentBuilder
sourcepub fn work_group_names(self, input: impl Into<String>) -> Self
pub fn work_group_names(self, input: impl Into<String>) -> Self
Appends an item to work_group_names.
To override the contents of this collection use set_work_group_names.
The list of workgroup names for the capacity assignment.
sourcepub fn set_work_group_names(self, input: Option<Vec<String>>) -> Self
pub fn set_work_group_names(self, input: Option<Vec<String>>) -> Self
The list of workgroup names for the capacity assignment.
sourcepub fn get_work_group_names(&self) -> &Option<Vec<String>>
pub fn get_work_group_names(&self) -> &Option<Vec<String>>
The list of workgroup names for the capacity assignment.
sourcepub fn build(self) -> CapacityAssignment
pub fn build(self) -> CapacityAssignment
Consumes the builder and constructs a CapacityAssignment.
Trait Implementations§
source§impl Clone for CapacityAssignmentBuilder
impl Clone for CapacityAssignmentBuilder
source§fn clone(&self) -> CapacityAssignmentBuilder
fn clone(&self) -> CapacityAssignmentBuilder
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 Debug for CapacityAssignmentBuilder
impl Debug for CapacityAssignmentBuilder
source§impl Default for CapacityAssignmentBuilder
impl Default for CapacityAssignmentBuilder
source§fn default() -> CapacityAssignmentBuilder
fn default() -> CapacityAssignmentBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CapacityAssignmentBuilder
impl PartialEq for CapacityAssignmentBuilder
source§fn eq(&self, other: &CapacityAssignmentBuilder) -> bool
fn eq(&self, other: &CapacityAssignmentBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CapacityAssignmentBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CapacityAssignmentBuilder
impl Send for CapacityAssignmentBuilder
impl Sync for CapacityAssignmentBuilder
impl Unpin for CapacityAssignmentBuilder
impl UnwindSafe for CapacityAssignmentBuilder
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.