Struct aws_sdk_redshift::types::builders::VpcEndpointBuilder
source · #[non_exhaustive]pub struct VpcEndpointBuilder { /* private fields */ }
Expand description
A builder for VpcEndpoint
.
Implementations§
source§impl VpcEndpointBuilder
impl VpcEndpointBuilder
sourcepub fn vpc_endpoint_id(self, input: impl Into<String>) -> Self
pub fn vpc_endpoint_id(self, input: impl Into<String>) -> Self
The connection endpoint ID for connecting an Amazon Redshift cluster through the proxy.
sourcepub fn set_vpc_endpoint_id(self, input: Option<String>) -> Self
pub fn set_vpc_endpoint_id(self, input: Option<String>) -> Self
The connection endpoint ID for connecting an Amazon Redshift cluster through the proxy.
sourcepub fn get_vpc_endpoint_id(&self) -> &Option<String>
pub fn get_vpc_endpoint_id(&self) -> &Option<String>
The connection endpoint ID for connecting an Amazon Redshift cluster through the proxy.
sourcepub fn vpc_id(self, input: impl Into<String>) -> Self
pub fn vpc_id(self, input: impl Into<String>) -> Self
The VPC identifier that the endpoint is associated.
sourcepub fn set_vpc_id(self, input: Option<String>) -> Self
pub fn set_vpc_id(self, input: Option<String>) -> Self
The VPC identifier that the endpoint is associated.
sourcepub fn get_vpc_id(&self) -> &Option<String>
pub fn get_vpc_id(&self) -> &Option<String>
The VPC identifier that the endpoint is associated.
sourcepub fn network_interfaces(self, input: NetworkInterface) -> Self
pub fn network_interfaces(self, input: NetworkInterface) -> Self
Appends an item to network_interfaces
.
To override the contents of this collection use set_network_interfaces
.
One or more network interfaces of the endpoint. Also known as an interface endpoint.
sourcepub fn set_network_interfaces(
self,
input: Option<Vec<NetworkInterface>>,
) -> Self
pub fn set_network_interfaces( self, input: Option<Vec<NetworkInterface>>, ) -> Self
One or more network interfaces of the endpoint. Also known as an interface endpoint.
sourcepub fn get_network_interfaces(&self) -> &Option<Vec<NetworkInterface>>
pub fn get_network_interfaces(&self) -> &Option<Vec<NetworkInterface>>
One or more network interfaces of the endpoint. Also known as an interface endpoint.
sourcepub fn build(self) -> VpcEndpoint
pub fn build(self) -> VpcEndpoint
Consumes the builder and constructs a VpcEndpoint
.
Trait Implementations§
source§impl Clone for VpcEndpointBuilder
impl Clone for VpcEndpointBuilder
source§fn clone(&self) -> VpcEndpointBuilder
fn clone(&self) -> VpcEndpointBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for VpcEndpointBuilder
impl Debug for VpcEndpointBuilder
source§impl Default for VpcEndpointBuilder
impl Default for VpcEndpointBuilder
source§fn default() -> VpcEndpointBuilder
fn default() -> VpcEndpointBuilder
source§impl PartialEq for VpcEndpointBuilder
impl PartialEq for VpcEndpointBuilder
impl StructuralPartialEq for VpcEndpointBuilder
Auto Trait Implementations§
impl Freeze for VpcEndpointBuilder
impl RefUnwindSafe for VpcEndpointBuilder
impl Send for VpcEndpointBuilder
impl Sync for VpcEndpointBuilder
impl Unpin for VpcEndpointBuilder
impl UnwindSafe for VpcEndpointBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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>
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>
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 more