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<ServiceTypeDetailBuilder> for ServiceTypeDetailBuilder
impl PartialEq<ServiceTypeDetailBuilder> 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 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