Struct aws_sdk_appstream::types::builders::AccessEndpointBuilder
source · #[non_exhaustive]pub struct AccessEndpointBuilder { /* private fields */ }
Expand description
A builder for AccessEndpoint
.
Implementations§
source§impl AccessEndpointBuilder
impl AccessEndpointBuilder
sourcepub fn endpoint_type(self, input: AccessEndpointType) -> Self
pub fn endpoint_type(self, input: AccessEndpointType) -> Self
The type of interface endpoint.
This field is required.sourcepub fn set_endpoint_type(self, input: Option<AccessEndpointType>) -> Self
pub fn set_endpoint_type(self, input: Option<AccessEndpointType>) -> Self
The type of interface endpoint.
sourcepub fn get_endpoint_type(&self) -> &Option<AccessEndpointType>
pub fn get_endpoint_type(&self) -> &Option<AccessEndpointType>
The type of interface endpoint.
sourcepub fn vpce_id(self, input: impl Into<String>) -> Self
pub fn vpce_id(self, input: impl Into<String>) -> Self
The identifier (ID) of the VPC in which the interface endpoint is used.
sourcepub fn set_vpce_id(self, input: Option<String>) -> Self
pub fn set_vpce_id(self, input: Option<String>) -> Self
The identifier (ID) of the VPC in which the interface endpoint is used.
sourcepub fn get_vpce_id(&self) -> &Option<String>
pub fn get_vpce_id(&self) -> &Option<String>
The identifier (ID) of the VPC in which the interface endpoint is used.
sourcepub fn build(self) -> AccessEndpoint
pub fn build(self) -> AccessEndpoint
Consumes the builder and constructs a AccessEndpoint
.
Trait Implementations§
source§impl Clone for AccessEndpointBuilder
impl Clone for AccessEndpointBuilder
source§fn clone(&self) -> AccessEndpointBuilder
fn clone(&self) -> AccessEndpointBuilder
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 AccessEndpointBuilder
impl Debug for AccessEndpointBuilder
source§impl Default for AccessEndpointBuilder
impl Default for AccessEndpointBuilder
source§fn default() -> AccessEndpointBuilder
fn default() -> AccessEndpointBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AccessEndpointBuilder
impl PartialEq for AccessEndpointBuilder
source§fn eq(&self, other: &AccessEndpointBuilder) -> bool
fn eq(&self, other: &AccessEndpointBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AccessEndpointBuilder
Auto Trait Implementations§
impl Freeze for AccessEndpointBuilder
impl RefUnwindSafe for AccessEndpointBuilder
impl Send for AccessEndpointBuilder
impl Sync for AccessEndpointBuilder
impl Unpin for AccessEndpointBuilder
impl UnwindSafe for AccessEndpointBuilder
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.