Struct aws_sdk_ec2::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 ID of the 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 endpoint.
sourcepub fn get_vpc_endpoint_id(&self) -> &Option<String>
pub fn get_vpc_endpoint_id(&self) -> &Option<String>
The ID of the endpoint.
sourcepub fn vpc_endpoint_type(self, input: VpcEndpointType) -> Self
pub fn vpc_endpoint_type(self, input: VpcEndpointType) -> Self
The type of endpoint.
sourcepub fn set_vpc_endpoint_type(self, input: Option<VpcEndpointType>) -> Self
pub fn set_vpc_endpoint_type(self, input: Option<VpcEndpointType>) -> Self
The type of endpoint.
sourcepub fn get_vpc_endpoint_type(&self) -> &Option<VpcEndpointType>
pub fn get_vpc_endpoint_type(&self) -> &Option<VpcEndpointType>
The type of endpoint.
sourcepub fn vpc_id(self, input: impl Into<String>) -> Self
pub fn vpc_id(self, input: impl Into<String>) -> Self
The ID of the VPC to which 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 ID of the VPC to which the endpoint is associated.
sourcepub fn get_vpc_id(&self) -> &Option<String>
pub fn get_vpc_id(&self) -> &Option<String>
The ID of the VPC to which the endpoint is associated.
sourcepub fn service_name(self, input: impl Into<String>) -> Self
pub fn service_name(self, input: impl Into<String>) -> Self
The name of the service to which the endpoint is associated.
sourcepub fn set_service_name(self, input: Option<String>) -> Self
pub fn set_service_name(self, input: Option<String>) -> Self
The name of the service to which the endpoint is associated.
sourcepub fn get_service_name(&self) -> &Option<String>
pub fn get_service_name(&self) -> &Option<String>
The name of the service to which the endpoint is associated.
sourcepub fn policy_document(self, input: impl Into<String>) -> Self
pub fn policy_document(self, input: impl Into<String>) -> Self
The policy document associated with the endpoint, if applicable.
sourcepub fn set_policy_document(self, input: Option<String>) -> Self
pub fn set_policy_document(self, input: Option<String>) -> Self
The policy document associated with the endpoint, if applicable.
sourcepub fn get_policy_document(&self) -> &Option<String>
pub fn get_policy_document(&self) -> &Option<String>
The policy document associated with the endpoint, if applicable.
sourcepub fn route_table_ids(self, input: impl Into<String>) -> Self
pub fn route_table_ids(self, input: impl Into<String>) -> Self
Appends an item to route_table_ids
.
To override the contents of this collection use set_route_table_ids
.
(Gateway endpoint) The IDs of the route tables associated with the endpoint.
sourcepub fn set_route_table_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_route_table_ids(self, input: Option<Vec<String>>) -> Self
(Gateway endpoint) The IDs of the route tables associated with the endpoint.
sourcepub fn get_route_table_ids(&self) -> &Option<Vec<String>>
pub fn get_route_table_ids(&self) -> &Option<Vec<String>>
(Gateway endpoint) The IDs of the route tables associated with the endpoint.
sourcepub fn subnet_ids(self, input: impl Into<String>) -> Self
pub fn subnet_ids(self, input: impl Into<String>) -> Self
Appends an item to subnet_ids
.
To override the contents of this collection use set_subnet_ids
.
(Interface endpoint) The subnets for the endpoint.
sourcepub fn set_subnet_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_subnet_ids(self, input: Option<Vec<String>>) -> Self
(Interface endpoint) The subnets for the endpoint.
sourcepub fn get_subnet_ids(&self) -> &Option<Vec<String>>
pub fn get_subnet_ids(&self) -> &Option<Vec<String>>
(Interface endpoint) The subnets for the endpoint.
sourcepub fn groups(self, input: SecurityGroupIdentifier) -> Self
pub fn groups(self, input: SecurityGroupIdentifier) -> Self
Appends an item to groups
.
To override the contents of this collection use set_groups
.
(Interface endpoint) Information about the security groups that are associated with the network interface.
sourcepub fn set_groups(self, input: Option<Vec<SecurityGroupIdentifier>>) -> Self
pub fn set_groups(self, input: Option<Vec<SecurityGroupIdentifier>>) -> Self
(Interface endpoint) Information about the security groups that are associated with the network interface.
sourcepub fn get_groups(&self) -> &Option<Vec<SecurityGroupIdentifier>>
pub fn get_groups(&self) -> &Option<Vec<SecurityGroupIdentifier>>
(Interface endpoint) Information about the security groups that are associated with the network interface.
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 get_ip_address_type(&self) -> &Option<IpAddressType>
pub fn get_ip_address_type(&self) -> &Option<IpAddressType>
The IP address type for the endpoint.
sourcepub fn dns_options(self, input: DnsOptions) -> Self
pub fn dns_options(self, input: DnsOptions) -> Self
The DNS options for the endpoint.
sourcepub fn set_dns_options(self, input: Option<DnsOptions>) -> Self
pub fn set_dns_options(self, input: Option<DnsOptions>) -> Self
The DNS options for the endpoint.
sourcepub fn get_dns_options(&self) -> &Option<DnsOptions>
pub fn get_dns_options(&self) -> &Option<DnsOptions>
The DNS options for the endpoint.
sourcepub fn private_dns_enabled(self, input: bool) -> Self
pub fn private_dns_enabled(self, input: bool) -> Self
(Interface endpoint) Indicates whether the VPC is associated with a private hosted zone.
sourcepub fn set_private_dns_enabled(self, input: Option<bool>) -> Self
pub fn set_private_dns_enabled(self, input: Option<bool>) -> Self
(Interface endpoint) Indicates whether the VPC is associated with a private hosted zone.
sourcepub fn get_private_dns_enabled(&self) -> &Option<bool>
pub fn get_private_dns_enabled(&self) -> &Option<bool>
(Interface endpoint) Indicates whether the VPC is associated with a private hosted zone.
sourcepub fn requester_managed(self, input: bool) -> Self
pub fn requester_managed(self, input: bool) -> Self
Indicates whether the endpoint is being managed by its service.
sourcepub fn set_requester_managed(self, input: Option<bool>) -> Self
pub fn set_requester_managed(self, input: Option<bool>) -> Self
Indicates whether the endpoint is being managed by its service.
sourcepub fn get_requester_managed(&self) -> &Option<bool>
pub fn get_requester_managed(&self) -> &Option<bool>
Indicates whether the endpoint is being managed by its service.
sourcepub fn network_interface_ids(self, input: impl Into<String>) -> Self
pub fn network_interface_ids(self, input: impl Into<String>) -> Self
Appends an item to network_interface_ids
.
To override the contents of this collection use set_network_interface_ids
.
(Interface endpoint) The network interfaces for the endpoint.
sourcepub fn set_network_interface_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_network_interface_ids(self, input: Option<Vec<String>>) -> Self
(Interface endpoint) The network interfaces for the endpoint.
sourcepub fn get_network_interface_ids(&self) -> &Option<Vec<String>>
pub fn get_network_interface_ids(&self) -> &Option<Vec<String>>
(Interface endpoint) The network interfaces for the endpoint.
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
.
(Interface endpoint) The DNS entries for the endpoint.
sourcepub fn set_dns_entries(self, input: Option<Vec<DnsEntry>>) -> Self
pub fn set_dns_entries(self, input: Option<Vec<DnsEntry>>) -> Self
(Interface endpoint) The DNS entries for the endpoint.
sourcepub fn get_dns_entries(&self) -> &Option<Vec<DnsEntry>>
pub fn get_dns_entries(&self) -> &Option<Vec<DnsEntry>>
(Interface endpoint) The DNS entries for the endpoint.
sourcepub fn creation_timestamp(self, input: DateTime) -> Self
pub fn creation_timestamp(self, input: DateTime) -> Self
The date and time that the 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 endpoint was created.
sourcepub fn get_creation_timestamp(&self) -> &Option<DateTime>
pub fn get_creation_timestamp(&self) -> &Option<DateTime>
The date and time that the endpoint was created.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
The tags assigned to the endpoint.
The tags assigned to the endpoint.
The tags assigned to the endpoint.
sourcepub fn owner_id(self, input: impl Into<String>) -> Self
pub fn owner_id(self, input: impl Into<String>) -> Self
The ID of the Amazon Web Services account that owns the endpoint.
sourcepub fn set_owner_id(self, input: Option<String>) -> Self
pub fn set_owner_id(self, input: Option<String>) -> Self
The ID of the Amazon Web Services account that owns the endpoint.
sourcepub fn get_owner_id(&self) -> &Option<String>
pub fn get_owner_id(&self) -> &Option<String>
The ID of the Amazon Web Services account that owns the endpoint.
sourcepub fn last_error(self, input: LastError) -> Self
pub fn last_error(self, input: LastError) -> Self
The last error that occurred for endpoint.
sourcepub fn set_last_error(self, input: Option<LastError>) -> Self
pub fn set_last_error(self, input: Option<LastError>) -> Self
The last error that occurred for endpoint.
sourcepub fn get_last_error(&self) -> &Option<LastError>
pub fn get_last_error(&self) -> &Option<LastError>
The last error that occurred for 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
source§fn eq(&self, other: &VpcEndpointBuilder) -> bool
fn eq(&self, other: &VpcEndpointBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.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> 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