Struct aws_sdk_ec2::model::vpc_endpoint_connection::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for VpcEndpointConnection
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn service_id(self, input: impl Into<String>) -> Self
pub fn service_id(self, input: impl Into<String>) -> Self
The ID of the service to which the endpoint is connected.
sourcepub fn set_service_id(self, input: Option<String>) -> Self
pub fn set_service_id(self, input: Option<String>) -> Self
The ID of the service to which the endpoint is connected.
sourcepub fn vpc_endpoint_id(self, input: impl Into<String>) -> Self
pub fn vpc_endpoint_id(self, input: impl Into<String>) -> Self
The ID of the VPC endpoint.
sourcepub fn set_vpc_endpoint_id(self, input: Option<String>) -> Self
pub fn set_vpc_endpoint_id(self, input: Option<String>) -> Self
The ID of the VPC endpoint.
sourcepub fn vpc_endpoint_owner(self, input: impl Into<String>) -> Self
pub fn vpc_endpoint_owner(self, input: impl Into<String>) -> Self
The ID of the Amazon Web Services account that owns the VPC endpoint.
sourcepub fn set_vpc_endpoint_owner(self, input: Option<String>) -> Self
pub fn set_vpc_endpoint_owner(self, input: Option<String>) -> Self
The ID of the Amazon Web Services account that owns the VPC endpoint.
sourcepub fn vpc_endpoint_state(self, input: State) -> Self
pub fn vpc_endpoint_state(self, input: State) -> Self
The state of the VPC endpoint.
sourcepub fn set_vpc_endpoint_state(self, input: Option<State>) -> Self
pub fn set_vpc_endpoint_state(self, input: Option<State>) -> Self
The state of the VPC endpoint.
sourcepub fn creation_timestamp(self, input: DateTime) -> Self
pub fn creation_timestamp(self, input: DateTime) -> Self
The date and time that the VPC endpoint was created.
sourcepub fn set_creation_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_creation_timestamp(self, input: Option<DateTime>) -> Self
The date and time that the VPC endpoint was created.
sourcepub fn dns_entries(self, input: DnsEntry) -> Self
pub fn dns_entries(self, input: DnsEntry) -> Self
Appends an item to dns_entries
.
To override the contents of this collection use set_dns_entries
.
The DNS entries for the VPC endpoint.
sourcepub fn set_dns_entries(self, input: Option<Vec<DnsEntry>>) -> Self
pub fn set_dns_entries(self, input: Option<Vec<DnsEntry>>) -> Self
The DNS entries for the VPC endpoint.
sourcepub fn network_load_balancer_arns(self, input: impl Into<String>) -> Self
pub fn network_load_balancer_arns(self, input: impl Into<String>) -> Self
Appends an item to network_load_balancer_arns
.
To override the contents of this collection use set_network_load_balancer_arns
.
The Amazon Resource Names (ARNs) of the network load balancers for the service.
sourcepub fn set_network_load_balancer_arns(self, input: Option<Vec<String>>) -> Self
pub fn set_network_load_balancer_arns(self, input: Option<Vec<String>>) -> Self
The Amazon Resource Names (ARNs) of the network load balancers for the service.
sourcepub fn gateway_load_balancer_arns(self, input: impl Into<String>) -> Self
pub fn gateway_load_balancer_arns(self, input: impl Into<String>) -> Self
Appends an item to gateway_load_balancer_arns
.
To override the contents of this collection use set_gateway_load_balancer_arns
.
The Amazon Resource Names (ARNs) of the Gateway Load Balancers for the service.
sourcepub fn set_gateway_load_balancer_arns(self, input: Option<Vec<String>>) -> Self
pub fn set_gateway_load_balancer_arns(self, input: Option<Vec<String>>) -> Self
The Amazon Resource Names (ARNs) of the Gateway Load Balancers for the service.
sourcepub fn ip_address_type(self, input: IpAddressType) -> Self
pub fn ip_address_type(self, input: IpAddressType) -> Self
The IP address type for the endpoint.
sourcepub fn set_ip_address_type(self, input: Option<IpAddressType>) -> Self
pub fn set_ip_address_type(self, input: Option<IpAddressType>) -> Self
The IP address type for the endpoint.
sourcepub fn build(self) -> VpcEndpointConnection
pub fn build(self) -> VpcEndpointConnection
Consumes the builder and constructs a VpcEndpointConnection
.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more