Struct aws_sdk_ec2::types::builders::ServiceTypeDetailBuilder
source · #[non_exhaustive]pub struct ServiceTypeDetailBuilder { /* private fields */ }
Expand description
A builder for ServiceTypeDetail
.
Implementations§
source§impl ServiceTypeDetailBuilder
impl ServiceTypeDetailBuilder
sourcepub fn service_type(self, input: ServiceType) -> Self
pub fn service_type(self, input: ServiceType) -> Self
The type of service.
sourcepub fn set_service_type(self, input: Option<ServiceType>) -> Self
pub fn set_service_type(self, input: Option<ServiceType>) -> Self
The type of service.
sourcepub fn get_service_type(&self) -> &Option<ServiceType>
pub fn get_service_type(&self) -> &Option<ServiceType>
The type of service.
sourcepub fn build(self) -> ServiceTypeDetail
pub fn build(self) -> ServiceTypeDetail
Consumes the builder and constructs a ServiceTypeDetail
.
Trait Implementations§
source§impl Clone for ServiceTypeDetailBuilder
impl Clone for ServiceTypeDetailBuilder
source§fn clone(&self) -> ServiceTypeDetailBuilder
fn clone(&self) -> ServiceTypeDetailBuilder
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 ServiceTypeDetailBuilder
impl Debug for ServiceTypeDetailBuilder
source§impl Default for ServiceTypeDetailBuilder
impl Default for ServiceTypeDetailBuilder
source§fn default() -> ServiceTypeDetailBuilder
fn default() -> ServiceTypeDetailBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ServiceTypeDetailBuilder
impl PartialEq for ServiceTypeDetailBuilder
source§fn eq(&self, other: &ServiceTypeDetailBuilder) -> bool
fn eq(&self, other: &ServiceTypeDetailBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ServiceTypeDetailBuilder
Auto Trait Implementations§
impl Freeze for ServiceTypeDetailBuilder
impl RefUnwindSafe for ServiceTypeDetailBuilder
impl Send for ServiceTypeDetailBuilder
impl Sync for ServiceTypeDetailBuilder
impl Unpin for ServiceTypeDetailBuilder
impl UnwindSafe for ServiceTypeDetailBuilder
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.