#[non_exhaustive]pub struct AnywhereConfigurationBuilder { /* private fields */ }Expand description
A builder for AnywhereConfiguration.
Implementations§
source§impl AnywhereConfigurationBuilder
impl AnywhereConfigurationBuilder
sourcepub fn cost(self, input: impl Into<String>) -> Self
pub fn cost(self, input: impl Into<String>) -> Self
The cost to run your fleet per hour. Amazon GameLift uses the provided cost of your fleet to balance usage in queues. For more information about queues, see Setting up queues in the Amazon GameLift Developer Guide.
This field is required.sourcepub fn set_cost(self, input: Option<String>) -> Self
pub fn set_cost(self, input: Option<String>) -> Self
The cost to run your fleet per hour. Amazon GameLift uses the provided cost of your fleet to balance usage in queues. For more information about queues, see Setting up queues in the Amazon GameLift Developer Guide.
sourcepub fn get_cost(&self) -> &Option<String>
pub fn get_cost(&self) -> &Option<String>
The cost to run your fleet per hour. Amazon GameLift uses the provided cost of your fleet to balance usage in queues. For more information about queues, see Setting up queues in the Amazon GameLift Developer Guide.
sourcepub fn build(self) -> AnywhereConfiguration
pub fn build(self) -> AnywhereConfiguration
Consumes the builder and constructs a AnywhereConfiguration.
Trait Implementations§
source§impl Clone for AnywhereConfigurationBuilder
impl Clone for AnywhereConfigurationBuilder
source§fn clone(&self) -> AnywhereConfigurationBuilder
fn clone(&self) -> AnywhereConfigurationBuilder
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 AnywhereConfigurationBuilder
impl Debug for AnywhereConfigurationBuilder
source§impl Default for AnywhereConfigurationBuilder
impl Default for AnywhereConfigurationBuilder
source§fn default() -> AnywhereConfigurationBuilder
fn default() -> AnywhereConfigurationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AnywhereConfigurationBuilder
impl PartialEq for AnywhereConfigurationBuilder
source§fn eq(&self, other: &AnywhereConfigurationBuilder) -> bool
fn eq(&self, other: &AnywhereConfigurationBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AnywhereConfigurationBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AnywhereConfigurationBuilder
impl Send for AnywhereConfigurationBuilder
impl Sync for AnywhereConfigurationBuilder
impl Unpin for AnywhereConfigurationBuilder
impl UnwindSafe for AnywhereConfigurationBuilder
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.