Struct aws_sdk_quicksight::types::builders::YAxisOptionsBuilder
source · #[non_exhaustive]pub struct YAxisOptionsBuilder { /* private fields */ }Expand description
A builder for YAxisOptions.
Implementations§
source§impl YAxisOptionsBuilder
impl YAxisOptionsBuilder
sourcepub fn y_axis(self, input: SingleYAxisOption) -> Self
pub fn y_axis(self, input: SingleYAxisOption) -> Self
The Y axis type to be used in the chart.
If you choose PRIMARY_Y_AXIS, the primary Y Axis is located on the leftmost vertical axis of the chart.
sourcepub fn set_y_axis(self, input: Option<SingleYAxisOption>) -> Self
pub fn set_y_axis(self, input: Option<SingleYAxisOption>) -> Self
The Y axis type to be used in the chart.
If you choose PRIMARY_Y_AXIS, the primary Y Axis is located on the leftmost vertical axis of the chart.
sourcepub fn get_y_axis(&self) -> &Option<SingleYAxisOption>
pub fn get_y_axis(&self) -> &Option<SingleYAxisOption>
The Y axis type to be used in the chart.
If you choose PRIMARY_Y_AXIS, the primary Y Axis is located on the leftmost vertical axis of the chart.
sourcepub fn build(self) -> Result<YAxisOptions, BuildError>
pub fn build(self) -> Result<YAxisOptions, BuildError>
Consumes the builder and constructs a YAxisOptions.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for YAxisOptionsBuilder
impl Clone for YAxisOptionsBuilder
source§fn clone(&self) -> YAxisOptionsBuilder
fn clone(&self) -> YAxisOptionsBuilder
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 YAxisOptionsBuilder
impl Debug for YAxisOptionsBuilder
source§impl Default for YAxisOptionsBuilder
impl Default for YAxisOptionsBuilder
source§fn default() -> YAxisOptionsBuilder
fn default() -> YAxisOptionsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for YAxisOptionsBuilder
impl PartialEq for YAxisOptionsBuilder
source§fn eq(&self, other: &YAxisOptionsBuilder) -> bool
fn eq(&self, other: &YAxisOptionsBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for YAxisOptionsBuilder
Auto Trait Implementations§
impl Freeze for YAxisOptionsBuilder
impl RefUnwindSafe for YAxisOptionsBuilder
impl Send for YAxisOptionsBuilder
impl Sync for YAxisOptionsBuilder
impl Unpin for YAxisOptionsBuilder
impl UnwindSafe for YAxisOptionsBuilder
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.