Struct aws_sdk_pricing::types::builders::ServiceBuilder
source · #[non_exhaustive]pub struct ServiceBuilder { /* private fields */ }Expand description
A builder for Service.
Implementations§
source§impl ServiceBuilder
impl ServiceBuilder
sourcepub fn service_code(self, input: impl Into<String>) -> Self
pub fn service_code(self, input: impl Into<String>) -> Self
The code for the Amazon Web Services service.
This field is required.sourcepub fn set_service_code(self, input: Option<String>) -> Self
pub fn set_service_code(self, input: Option<String>) -> Self
The code for the Amazon Web Services service.
sourcepub fn get_service_code(&self) -> &Option<String>
pub fn get_service_code(&self) -> &Option<String>
The code for the Amazon Web Services service.
sourcepub fn attribute_names(self, input: impl Into<String>) -> Self
pub fn attribute_names(self, input: impl Into<String>) -> Self
Appends an item to attribute_names.
To override the contents of this collection use set_attribute_names.
The attributes that are available for this service.
sourcepub fn set_attribute_names(self, input: Option<Vec<String>>) -> Self
pub fn set_attribute_names(self, input: Option<Vec<String>>) -> Self
The attributes that are available for this service.
sourcepub fn get_attribute_names(&self) -> &Option<Vec<String>>
pub fn get_attribute_names(&self) -> &Option<Vec<String>>
The attributes that are available for this service.
Trait Implementations§
source§impl Clone for ServiceBuilder
impl Clone for ServiceBuilder
source§fn clone(&self) -> ServiceBuilder
fn clone(&self) -> ServiceBuilder
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 ServiceBuilder
impl Debug for ServiceBuilder
source§impl Default for ServiceBuilder
impl Default for ServiceBuilder
source§fn default() -> ServiceBuilder
fn default() -> ServiceBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ServiceBuilder
impl PartialEq for ServiceBuilder
source§fn eq(&self, other: &ServiceBuilder) -> bool
fn eq(&self, other: &ServiceBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ServiceBuilder
Auto Trait Implementations§
impl Freeze for ServiceBuilder
impl RefUnwindSafe for ServiceBuilder
impl Send for ServiceBuilder
impl Sync for ServiceBuilder
impl Unpin for ServiceBuilder
impl UnwindSafe for ServiceBuilder
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.