Struct aws_sdk_ec2::model::vpc_endpoint::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for VpcEndpoint
.
Implementations
sourceimpl Builder
impl Builder
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 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 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 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 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 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) One or more 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) One or more 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 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 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 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 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 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 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) One or more 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) One or more 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 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.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
Any tags assigned to the endpoint.
Any 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 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 build(self) -> VpcEndpoint
pub fn build(self) -> VpcEndpoint
Consumes the builder and constructs a VpcEndpoint
.
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