Struct aws_sdk_ec2::model::vpc_endpoint::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for VpcEndpoint
.
Implementations§
source§impl 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) 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 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) 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 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
.
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 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
.