Class EndpointIdentifier
- java.lang.Object
-
- software.amazon.awssdk.services.globalaccelerator.model.EndpointIdentifier
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EndpointIdentifier.Builder,EndpointIdentifier>
@Generated("software.amazon.awssdk:codegen") public final class EndpointIdentifier extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EndpointIdentifier.Builder,EndpointIdentifier>
A complex type for an endpoint. Specifies information about the endpoint to remove from the endpoint group.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEndpointIdentifier.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EndpointIdentifier.Builderbuilder()BooleanclientIPPreservationEnabled()Indicates whether client IP address preservation is enabled for an endpoint.StringendpointId()An ID for the endpoint.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends EndpointIdentifier.Builder>serializableBuilderClass()EndpointIdentifier.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
endpointId
public final String endpointId()
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.
- Returns:
- 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.
-
clientIPPreservationEnabled
public final Boolean clientIPPreservationEnabled()
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-Forrequest header as traffic travels to applications on the endpoint fronted by the accelerator.- Returns:
- 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-Forrequest header as traffic travels to applications on the endpoint fronted by the accelerator.
-
toBuilder
public EndpointIdentifier.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EndpointIdentifier.Builder,EndpointIdentifier>
-
builder
public static EndpointIdentifier.Builder builder()
-
serializableBuilderClass
public static Class<? extends EndpointIdentifier.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-