Class Endpoint
- java.lang.Object
-
- software.amazon.awssdk.services.pcs.model.Endpoint
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Endpoint.Builder,Endpoint>
@Generated("software.amazon.awssdk:codegen") public final class Endpoint extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Endpoint.Builder,Endpoint>
An endpoint available for interaction with the scheduler.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEndpoint.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Endpoint.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringport()The endpoint's connection port number.StringprivateIpAddress()The endpoint's private IP address.StringpublicIpAddress()The endpoint's public IP address.List<SdkField<?>>sdkFields()static Class<? extends Endpoint.Builder>serializableBuilderClass()Endpoint.BuildertoBuilder()StringtoString()Returns a string representation of this object.EndpointTypetype()Indicates the type of endpoint running at the specific IP address.StringtypeAsString()Indicates the type of endpoint running at the specific IP address.-
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
-
type
public final EndpointType type()
Indicates the type of endpoint running at the specific IP address.
If the service returns an enum value that is not available in the current SDK version,
typewill returnEndpointType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- Indicates the type of endpoint running at the specific IP address.
- See Also:
EndpointType
-
typeAsString
public final String typeAsString()
Indicates the type of endpoint running at the specific IP address.
If the service returns an enum value that is not available in the current SDK version,
typewill returnEndpointType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- Indicates the type of endpoint running at the specific IP address.
- See Also:
EndpointType
-
privateIpAddress
public final String privateIpAddress()
The endpoint's private IP address.
Example:
2.2.2.2- Returns:
- The endpoint's private IP address.
Example:
2.2.2.2
-
publicIpAddress
public final String publicIpAddress()
The endpoint's public IP address.
Example:
1.1.1.1- Returns:
- The endpoint's public IP address.
Example:
1.1.1.1
-
port
public final String port()
The endpoint's connection port number.
Example:
1234- Returns:
- The endpoint's connection port number.
Example:
1234
-
toBuilder
public Endpoint.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Endpoint.Builder,Endpoint>
-
builder
public static Endpoint.Builder builder()
-
serializableBuilderClass
public static Class<? extends Endpoint.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.
-
-