#[non_exhaustive]pub struct EndpointIdentifier {
pub endpoint_id: String,
pub client_ip_preservation_enabled: Option<bool>,
}
Expand description
A complex type for an endpoint. Specifies information about the endpoint to remove from the endpoint group.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.endpoint_id: String
An ID for the endpoint. If the endpoint is a Network Load Balancer or Application Load Balancer, this is the Amazon Resource Name (ARN) of the resource. If the endpoint is an Elastic IP address, this is the Elastic IP address allocation ID. For Amazon EC2 instances, this is the EC2 instance ID.
An Application Load Balancer can be either internal or internet-facing.
client_ip_preservation_enabled: Option<bool>
Indicates whether client IP address preservation is enabled for an endpoint. The value is true or false.
If the value is set to true, the client's IP address is preserved in the X-Forwarded-For
request header as traffic travels to applications on the endpoint fronted by the accelerator.
Implementations§
source§impl EndpointIdentifier
impl EndpointIdentifier
sourcepub fn endpoint_id(&self) -> &str
pub fn endpoint_id(&self) -> &str
An ID for the endpoint. If the endpoint is a Network Load Balancer or Application Load Balancer, this is the Amazon Resource Name (ARN) of the resource. If the endpoint is an Elastic IP address, this is the Elastic IP address allocation ID. For Amazon EC2 instances, this is the EC2 instance ID.
An Application Load Balancer can be either internal or internet-facing.
sourcepub fn client_ip_preservation_enabled(&self) -> Option<bool>
pub fn client_ip_preservation_enabled(&self) -> Option<bool>
Indicates whether client IP address preservation is enabled for an endpoint. The value is true or false.
If the value is set to true, the client's IP address is preserved in the X-Forwarded-For
request header as traffic travels to applications on the endpoint fronted by the accelerator.
source§impl EndpointIdentifier
impl EndpointIdentifier
sourcepub fn builder() -> EndpointIdentifierBuilder
pub fn builder() -> EndpointIdentifierBuilder
Creates a new builder-style object to manufacture EndpointIdentifier
.
Trait Implementations§
source§impl Clone for EndpointIdentifier
impl Clone for EndpointIdentifier
source§fn clone(&self) -> EndpointIdentifier
fn clone(&self) -> EndpointIdentifier
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EndpointIdentifier
impl Debug for EndpointIdentifier
source§impl PartialEq for EndpointIdentifier
impl PartialEq for EndpointIdentifier
source§fn eq(&self, other: &EndpointIdentifier) -> bool
fn eq(&self, other: &EndpointIdentifier) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EndpointIdentifier
Auto Trait Implementations§
impl Freeze for EndpointIdentifier
impl RefUnwindSafe for EndpointIdentifier
impl Send for EndpointIdentifier
impl Sync for EndpointIdentifier
impl Unpin for EndpointIdentifier
impl UnwindSafe for EndpointIdentifier
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