Struct aws_sdk_ec2::model::vpc_endpoint_connection::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for VpcEndpointConnection
.
Implementations§
source§impl 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 vpc_endpoint_connection_id(self, input: impl Into<String>) -> Self
pub fn vpc_endpoint_connection_id(self, input: impl Into<String>) -> Self
The ID of the VPC endpoint connection.
sourcepub fn set_vpc_endpoint_connection_id(self, input: Option<String>) -> Self
pub fn set_vpc_endpoint_connection_id(self, input: Option<String>) -> Self
The ID of the VPC endpoint connection.
The tags.
sourcepub fn build(self) -> VpcEndpointConnection
pub fn build(self) -> VpcEndpointConnection
Consumes the builder and constructs a VpcEndpointConnection
.