Struct aws_sdk_athena::types::builders::CapacityAllocationBuilder
source · #[non_exhaustive]pub struct CapacityAllocationBuilder { /* private fields */ }Expand description
A builder for CapacityAllocation.
Implementations§
source§impl CapacityAllocationBuilder
impl CapacityAllocationBuilder
sourcepub fn status(self, input: CapacityAllocationStatus) -> Self
pub fn status(self, input: CapacityAllocationStatus) -> Self
The status of the capacity allocation.
sourcepub fn set_status(self, input: Option<CapacityAllocationStatus>) -> Self
pub fn set_status(self, input: Option<CapacityAllocationStatus>) -> Self
The status of the capacity allocation.
sourcepub fn get_status(&self) -> &Option<CapacityAllocationStatus>
pub fn get_status(&self) -> &Option<CapacityAllocationStatus>
The status of the capacity allocation.
sourcepub fn status_message(self, input: impl Into<String>) -> Self
pub fn status_message(self, input: impl Into<String>) -> Self
The status message of the capacity allocation.
sourcepub fn set_status_message(self, input: Option<String>) -> Self
pub fn set_status_message(self, input: Option<String>) -> Self
The status message of the capacity allocation.
sourcepub fn get_status_message(&self) -> &Option<String>
pub fn get_status_message(&self) -> &Option<String>
The status message of the capacity allocation.
sourcepub fn request_time(self, input: DateTime) -> Self
pub fn request_time(self, input: DateTime) -> Self
The time when the capacity allocation was requested.
sourcepub fn set_request_time(self, input: Option<DateTime>) -> Self
pub fn set_request_time(self, input: Option<DateTime>) -> Self
The time when the capacity allocation was requested.
sourcepub fn get_request_time(&self) -> &Option<DateTime>
pub fn get_request_time(&self) -> &Option<DateTime>
The time when the capacity allocation was requested.
sourcepub fn request_completion_time(self, input: DateTime) -> Self
pub fn request_completion_time(self, input: DateTime) -> Self
The time when the capacity allocation request was completed.
sourcepub fn set_request_completion_time(self, input: Option<DateTime>) -> Self
pub fn set_request_completion_time(self, input: Option<DateTime>) -> Self
The time when the capacity allocation request was completed.
sourcepub fn get_request_completion_time(&self) -> &Option<DateTime>
pub fn get_request_completion_time(&self) -> &Option<DateTime>
The time when the capacity allocation request was completed.
sourcepub fn build(self) -> CapacityAllocation
pub fn build(self) -> CapacityAllocation
Consumes the builder and constructs a CapacityAllocation.
Trait Implementations§
source§impl Clone for CapacityAllocationBuilder
impl Clone for CapacityAllocationBuilder
source§fn clone(&self) -> CapacityAllocationBuilder
fn clone(&self) -> CapacityAllocationBuilder
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 CapacityAllocationBuilder
impl Debug for CapacityAllocationBuilder
source§impl Default for CapacityAllocationBuilder
impl Default for CapacityAllocationBuilder
source§fn default() -> CapacityAllocationBuilder
fn default() -> CapacityAllocationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<CapacityAllocationBuilder> for CapacityAllocationBuilder
impl PartialEq<CapacityAllocationBuilder> for CapacityAllocationBuilder
source§fn eq(&self, other: &CapacityAllocationBuilder) -> bool
fn eq(&self, other: &CapacityAllocationBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CapacityAllocationBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CapacityAllocationBuilder
impl Send for CapacityAllocationBuilder
impl Sync for CapacityAllocationBuilder
impl Unpin for CapacityAllocationBuilder
impl UnwindSafe for CapacityAllocationBuilder
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