Class NeighborConnectionDetail
- java.lang.Object
-
- software.amazon.awssdk.services.applicationdiscovery.model.NeighborConnectionDetail
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<NeighborConnectionDetail.Builder,NeighborConnectionDetail>
@Generated("software.amazon.awssdk:codegen") public final class NeighborConnectionDetail extends Object implements SdkPojo, Serializable, ToCopyableBuilder<NeighborConnectionDetail.Builder,NeighborConnectionDetail>
Details about neighboring servers.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceNeighborConnectionDetail.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NeighborConnectionDetail.Builderbuilder()LongconnectionsCount()The number of open network connections with the neighboring server.IntegerdestinationPort()The destination network port for the connection.StringdestinationServerId()The ID of the server that accepted the network connection.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends NeighborConnectionDetail.Builder>serializableBuilderClass()StringsourceServerId()The ID of the server that opened the network connection.NeighborConnectionDetail.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringtransportProtocol()The network protocol used for the connection.-
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
-
sourceServerId
public final String sourceServerId()
The ID of the server that opened the network connection.
- Returns:
- The ID of the server that opened the network connection.
-
destinationServerId
public final String destinationServerId()
The ID of the server that accepted the network connection.
- Returns:
- The ID of the server that accepted the network connection.
-
destinationPort
public final Integer destinationPort()
The destination network port for the connection.
- Returns:
- The destination network port for the connection.
-
transportProtocol
public final String transportProtocol()
The network protocol used for the connection.
- Returns:
- The network protocol used for the connection.
-
connectionsCount
public final Long connectionsCount()
The number of open network connections with the neighboring server.
- Returns:
- The number of open network connections with the neighboring server.
-
toBuilder
public NeighborConnectionDetail.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<NeighborConnectionDetail.Builder,NeighborConnectionDetail>
-
builder
public static NeighborConnectionDetail.Builder builder()
-
serializableBuilderClass
public static Class<? extends NeighborConnectionDetail.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.
-
-