@Generated(value="software.amazon.awssdk:codegen") public final class InboundConnection extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InboundConnection.Builder,InboundConnection>
Describes an inbound cross-cluster connection for Amazon OpenSearch Service. For more information, see Cross-cluster search for Amazon OpenSearch Service.
| Modifier and Type | Class and Description |
|---|---|
static interface |
InboundConnection.Builder |
| Modifier and Type | Method and Description |
|---|---|
static InboundConnection.Builder |
builder() |
String |
connectionId()
The unique identifier of the connection.
|
ConnectionMode |
connectionMode()
The connection mode.
|
String |
connectionModeAsString()
The connection mode.
|
InboundConnectionStatus |
connectionStatus()
The current status of the connection.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
DomainInformationContainer |
localDomainInfo()
Information about the source (local) domain.
|
DomainInformationContainer |
remoteDomainInfo()
Information about the destination (remote) domain.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends InboundConnection.Builder> |
serializableBuilderClass() |
InboundConnection.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final DomainInformationContainer localDomainInfo()
Information about the source (local) domain.
public final DomainInformationContainer remoteDomainInfo()
Information about the destination (remote) domain.
public final String connectionId()
The unique identifier of the connection.
public final InboundConnectionStatus connectionStatus()
The current status of the connection.
public final ConnectionMode connectionMode()
The connection mode.
If the service returns an enum value that is not available in the current SDK version, connectionMode
will return ConnectionMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from connectionModeAsString().
ConnectionModepublic final String connectionModeAsString()
The connection mode.
If the service returns an enum value that is not available in the current SDK version, connectionMode
will return ConnectionMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from connectionModeAsString().
ConnectionModepublic InboundConnection.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<InboundConnection.Builder,InboundConnection>public static InboundConnection.Builder builder()
public static Class<? extends InboundConnection.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.