#[non_exhaustive]pub struct Ec2InstanceConnectEndpointBuilder { /* private fields */ }
Expand description
A builder for Ec2InstanceConnectEndpoint
.
Implementations§
source§impl Ec2InstanceConnectEndpointBuilder
impl Ec2InstanceConnectEndpointBuilder
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 created the EC2 Instance Connect 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 created the EC2 Instance Connect 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 created the EC2 Instance Connect Endpoint.
sourcepub fn instance_connect_endpoint_id(self, input: impl Into<String>) -> Self
pub fn instance_connect_endpoint_id(self, input: impl Into<String>) -> Self
The ID of the EC2 Instance Connect Endpoint.
sourcepub fn set_instance_connect_endpoint_id(self, input: Option<String>) -> Self
pub fn set_instance_connect_endpoint_id(self, input: Option<String>) -> Self
The ID of the EC2 Instance Connect Endpoint.
sourcepub fn get_instance_connect_endpoint_id(&self) -> &Option<String>
pub fn get_instance_connect_endpoint_id(&self) -> &Option<String>
The ID of the EC2 Instance Connect Endpoint.
sourcepub fn instance_connect_endpoint_arn(self, input: impl Into<String>) -> Self
pub fn instance_connect_endpoint_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the EC2 Instance Connect Endpoint.
sourcepub fn set_instance_connect_endpoint_arn(self, input: Option<String>) -> Self
pub fn set_instance_connect_endpoint_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the EC2 Instance Connect Endpoint.
sourcepub fn get_instance_connect_endpoint_arn(&self) -> &Option<String>
pub fn get_instance_connect_endpoint_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the EC2 Instance Connect Endpoint.
sourcepub fn state(self, input: Ec2InstanceConnectEndpointState) -> Self
pub fn state(self, input: Ec2InstanceConnectEndpointState) -> Self
The current state of the EC2 Instance Connect Endpoint.
sourcepub fn set_state(self, input: Option<Ec2InstanceConnectEndpointState>) -> Self
pub fn set_state(self, input: Option<Ec2InstanceConnectEndpointState>) -> Self
The current state of the EC2 Instance Connect Endpoint.
sourcepub fn get_state(&self) -> &Option<Ec2InstanceConnectEndpointState>
pub fn get_state(&self) -> &Option<Ec2InstanceConnectEndpointState>
The current state of the EC2 Instance Connect Endpoint.
sourcepub fn state_message(self, input: impl Into<String>) -> Self
pub fn state_message(self, input: impl Into<String>) -> Self
The message for the current state of the EC2 Instance Connect Endpoint. Can include a failure message.
sourcepub fn set_state_message(self, input: Option<String>) -> Self
pub fn set_state_message(self, input: Option<String>) -> Self
The message for the current state of the EC2 Instance Connect Endpoint. Can include a failure message.
sourcepub fn get_state_message(&self) -> &Option<String>
pub fn get_state_message(&self) -> &Option<String>
The message for the current state of the EC2 Instance Connect Endpoint. Can include a failure message.
sourcepub fn dns_name(self, input: impl Into<String>) -> Self
pub fn dns_name(self, input: impl Into<String>) -> Self
The DNS name of the EC2 Instance Connect Endpoint.
sourcepub fn set_dns_name(self, input: Option<String>) -> Self
pub fn set_dns_name(self, input: Option<String>) -> Self
The DNS name of the EC2 Instance Connect Endpoint.
sourcepub fn get_dns_name(&self) -> &Option<String>
pub fn get_dns_name(&self) -> &Option<String>
The DNS name of the EC2 Instance Connect Endpoint.
sourcepub fn fips_dns_name(self, input: impl Into<String>) -> Self
pub fn fips_dns_name(self, input: impl Into<String>) -> Self
sourcepub fn set_fips_dns_name(self, input: Option<String>) -> Self
pub fn set_fips_dns_name(self, input: Option<String>) -> Self
sourcepub fn get_fips_dns_name(&self) -> &Option<String>
pub fn get_fips_dns_name(&self) -> &Option<String>
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
.
The ID of the elastic network interface that Amazon EC2 automatically created when creating the EC2 Instance Connect 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
The ID of the elastic network interface that Amazon EC2 automatically created when creating the EC2 Instance Connect Endpoint.
sourcepub fn get_network_interface_ids(&self) -> &Option<Vec<String>>
pub fn get_network_interface_ids(&self) -> &Option<Vec<String>>
The ID of the elastic network interface that Amazon EC2 automatically created when creating the EC2 Instance Connect 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 in which the EC2 Instance Connect Endpoint was created.
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 in which the EC2 Instance Connect Endpoint was created.
sourcepub fn get_vpc_id(&self) -> &Option<String>
pub fn get_vpc_id(&self) -> &Option<String>
The ID of the VPC in which the EC2 Instance Connect Endpoint was created.
sourcepub fn availability_zone(self, input: impl Into<String>) -> Self
pub fn availability_zone(self, input: impl Into<String>) -> Self
The Availability Zone of the EC2 Instance Connect Endpoint.
sourcepub fn set_availability_zone(self, input: Option<String>) -> Self
pub fn set_availability_zone(self, input: Option<String>) -> Self
The Availability Zone of the EC2 Instance Connect Endpoint.
sourcepub fn get_availability_zone(&self) -> &Option<String>
pub fn get_availability_zone(&self) -> &Option<String>
The Availability Zone of the EC2 Instance Connect Endpoint.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The date and time that the EC2 Instance Connect Endpoint was created.
sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
The date and time that the EC2 Instance Connect Endpoint was created.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
The date and time that the EC2 Instance Connect Endpoint was created.
sourcepub fn subnet_id(self, input: impl Into<String>) -> Self
pub fn subnet_id(self, input: impl Into<String>) -> Self
The ID of the subnet in which the EC2 Instance Connect Endpoint was created.
sourcepub fn set_subnet_id(self, input: Option<String>) -> Self
pub fn set_subnet_id(self, input: Option<String>) -> Self
The ID of the subnet in which the EC2 Instance Connect Endpoint was created.
sourcepub fn get_subnet_id(&self) -> &Option<String>
pub fn get_subnet_id(&self) -> &Option<String>
The ID of the subnet in which the EC2 Instance Connect Endpoint was created.
sourcepub fn preserve_client_ip(self, input: bool) -> Self
pub fn preserve_client_ip(self, input: bool) -> Self
Indicates whether your client's IP address is preserved as the source. The value is true
or false
.
-
If
true
, your client's IP address is used when you connect to a resource. -
If
false
, the elastic network interface IP address is used when you connect to a resource.
Default: true
sourcepub fn set_preserve_client_ip(self, input: Option<bool>) -> Self
pub fn set_preserve_client_ip(self, input: Option<bool>) -> Self
Indicates whether your client's IP address is preserved as the source. The value is true
or false
.
-
If
true
, your client's IP address is used when you connect to a resource. -
If
false
, the elastic network interface IP address is used when you connect to a resource.
Default: true
sourcepub fn get_preserve_client_ip(&self) -> &Option<bool>
pub fn get_preserve_client_ip(&self) -> &Option<bool>
Indicates whether your client's IP address is preserved as the source. The value is true
or false
.
-
If
true
, your client's IP address is used when you connect to a resource. -
If
false
, the elastic network interface IP address is used when you connect to a resource.
Default: true
sourcepub fn security_group_ids(self, input: impl Into<String>) -> Self
pub fn security_group_ids(self, input: impl Into<String>) -> Self
Appends an item to security_group_ids
.
To override the contents of this collection use set_security_group_ids
.
The security groups associated with the endpoint. If you didn't specify a security group, the default security group for your VPC is associated with the endpoint.
sourcepub fn set_security_group_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_security_group_ids(self, input: Option<Vec<String>>) -> Self
The security groups associated with the endpoint. If you didn't specify a security group, the default security group for your VPC is associated with the endpoint.
sourcepub fn get_security_group_ids(&self) -> &Option<Vec<String>>
pub fn get_security_group_ids(&self) -> &Option<Vec<String>>
The security groups associated with the endpoint. If you didn't specify a security group, the default security group for your VPC is associated with the endpoint.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
The tags assigned to the EC2 Instance Connect Endpoint.
The tags assigned to the EC2 Instance Connect Endpoint.
The tags assigned to the EC2 Instance Connect Endpoint.
sourcepub fn build(self) -> Ec2InstanceConnectEndpoint
pub fn build(self) -> Ec2InstanceConnectEndpoint
Consumes the builder and constructs a Ec2InstanceConnectEndpoint
.
Trait Implementations§
source§impl Clone for Ec2InstanceConnectEndpointBuilder
impl Clone for Ec2InstanceConnectEndpointBuilder
source§fn clone(&self) -> Ec2InstanceConnectEndpointBuilder
fn clone(&self) -> Ec2InstanceConnectEndpointBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for Ec2InstanceConnectEndpointBuilder
impl Default for Ec2InstanceConnectEndpointBuilder
source§fn default() -> Ec2InstanceConnectEndpointBuilder
fn default() -> Ec2InstanceConnectEndpointBuilder
source§impl PartialEq<Ec2InstanceConnectEndpointBuilder> for Ec2InstanceConnectEndpointBuilder
impl PartialEq<Ec2InstanceConnectEndpointBuilder> for Ec2InstanceConnectEndpointBuilder
source§fn eq(&self, other: &Ec2InstanceConnectEndpointBuilder) -> bool
fn eq(&self, other: &Ec2InstanceConnectEndpointBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.