Struct aws_sdk_globalaccelerator::operation::create_accelerator::builders::CreateAcceleratorOutputBuilder
source · #[non_exhaustive]pub struct CreateAcceleratorOutputBuilder { /* private fields */ }Expand description
A builder for CreateAcceleratorOutput.
Implementations§
source§impl CreateAcceleratorOutputBuilder
impl CreateAcceleratorOutputBuilder
sourcepub fn accelerator(self, input: Accelerator) -> Self
pub fn accelerator(self, input: Accelerator) -> Self
The accelerator that is created by specifying a listener and the supported IP address types.
sourcepub fn set_accelerator(self, input: Option<Accelerator>) -> Self
pub fn set_accelerator(self, input: Option<Accelerator>) -> Self
The accelerator that is created by specifying a listener and the supported IP address types.
sourcepub fn get_accelerator(&self) -> &Option<Accelerator>
pub fn get_accelerator(&self) -> &Option<Accelerator>
The accelerator that is created by specifying a listener and the supported IP address types.
sourcepub fn build(self) -> CreateAcceleratorOutput
pub fn build(self) -> CreateAcceleratorOutput
Consumes the builder and constructs a CreateAcceleratorOutput.
Trait Implementations§
source§impl Clone for CreateAcceleratorOutputBuilder
impl Clone for CreateAcceleratorOutputBuilder
source§fn clone(&self) -> CreateAcceleratorOutputBuilder
fn clone(&self) -> CreateAcceleratorOutputBuilder
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 CreateAcceleratorOutputBuilder
impl Default for CreateAcceleratorOutputBuilder
source§fn default() -> CreateAcceleratorOutputBuilder
fn default() -> CreateAcceleratorOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CreateAcceleratorOutputBuilder
impl PartialEq for CreateAcceleratorOutputBuilder
source§fn eq(&self, other: &CreateAcceleratorOutputBuilder) -> bool
fn eq(&self, other: &CreateAcceleratorOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateAcceleratorOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateAcceleratorOutputBuilder
impl RefUnwindSafe for CreateAcceleratorOutputBuilder
impl Send for CreateAcceleratorOutputBuilder
impl Sync for CreateAcceleratorOutputBuilder
impl Unpin for CreateAcceleratorOutputBuilder
impl UnwindSafe for CreateAcceleratorOutputBuilder
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.