Class InboundConnection
- java.lang.Object
-
- software.amazon.awssdk.services.opensearch.model.InboundConnection
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<InboundConnection.Builder,InboundConnection>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceInboundConnection.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InboundConnection.Builderbuilder()StringconnectionId()The unique identifier of the connection.ConnectionModeconnectionMode()The connection mode.StringconnectionModeAsString()The connection mode.InboundConnectionStatusconnectionStatus()The current status of the connection.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()DomainInformationContainerlocalDomainInfo()Information about the source (local) domain.DomainInformationContainerremoteDomainInfo()Information about the destination (remote) domain.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends InboundConnection.Builder>serializableBuilderClass()InboundConnection.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
-
localDomainInfo
public final DomainInformationContainer localDomainInfo()
Information about the source (local) domain.
- Returns:
- Information about the source (local) domain.
-
remoteDomainInfo
public final DomainInformationContainer remoteDomainInfo()
Information about the destination (remote) domain.
- Returns:
- Information about the destination (remote) domain.
-
connectionId
public final String connectionId()
The unique identifier of the connection.
- Returns:
- The unique identifier of the connection.
-
connectionStatus
public final InboundConnectionStatus connectionStatus()
The current status of the connection.
- Returns:
- The current status of the connection.
-
connectionMode
public final ConnectionMode connectionMode()
The connection mode.
If the service returns an enum value that is not available in the current SDK version,
connectionModewill returnConnectionMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromconnectionModeAsString().- Returns:
- The connection mode.
- See Also:
ConnectionMode
-
connectionModeAsString
public final String connectionModeAsString()
The connection mode.
If the service returns an enum value that is not available in the current SDK version,
connectionModewill returnConnectionMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromconnectionModeAsString().- Returns:
- The connection mode.
- See Also:
ConnectionMode
-
toBuilder
public InboundConnection.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<InboundConnection.Builder,InboundConnection>
-
builder
public static InboundConnection.Builder builder()
-
serializableBuilderClass
public static Class<? extends InboundConnection.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
-
-