@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InboundConnection extends Object implements Serializable, Cloneable, StructuredPojo
Describes an inbound cross-cluster connection for Amazon OpenSearch Service. For more information, see Cross-cluster search for Amazon OpenSearch Service.
| Constructor and Description |
|---|
InboundConnection() |
| Modifier and Type | Method and Description |
|---|---|
InboundConnection |
clone() |
boolean |
equals(Object obj) |
String |
getConnectionId()
The unique identifier of the connection.
|
String |
getConnectionMode()
The connection mode.
|
InboundConnectionStatus |
getConnectionStatus()
The current status of the connection.
|
DomainInformationContainer |
getLocalDomainInfo()
Information about the source (local) domain.
|
DomainInformationContainer |
getRemoteDomainInfo()
Information about the destination (remote) domain.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setConnectionId(String connectionId)
The unique identifier of the connection.
|
void |
setConnectionMode(String connectionMode)
The connection mode.
|
void |
setConnectionStatus(InboundConnectionStatus connectionStatus)
The current status of the connection.
|
void |
setLocalDomainInfo(DomainInformationContainer localDomainInfo)
Information about the source (local) domain.
|
void |
setRemoteDomainInfo(DomainInformationContainer remoteDomainInfo)
Information about the destination (remote) domain.
|
String |
toString()
Returns a string representation of this object.
|
InboundConnection |
withConnectionId(String connectionId)
The unique identifier of the connection.
|
InboundConnection |
withConnectionMode(ConnectionMode connectionMode)
The connection mode.
|
InboundConnection |
withConnectionMode(String connectionMode)
The connection mode.
|
InboundConnection |
withConnectionStatus(InboundConnectionStatus connectionStatus)
The current status of the connection.
|
InboundConnection |
withLocalDomainInfo(DomainInformationContainer localDomainInfo)
Information about the source (local) domain.
|
InboundConnection |
withRemoteDomainInfo(DomainInformationContainer remoteDomainInfo)
Information about the destination (remote) domain.
|
public void setLocalDomainInfo(DomainInformationContainer localDomainInfo)
Information about the source (local) domain.
localDomainInfo - Information about the source (local) domain.public DomainInformationContainer getLocalDomainInfo()
Information about the source (local) domain.
public InboundConnection withLocalDomainInfo(DomainInformationContainer localDomainInfo)
Information about the source (local) domain.
localDomainInfo - Information about the source (local) domain.public void setRemoteDomainInfo(DomainInformationContainer remoteDomainInfo)
Information about the destination (remote) domain.
remoteDomainInfo - Information about the destination (remote) domain.public DomainInformationContainer getRemoteDomainInfo()
Information about the destination (remote) domain.
public InboundConnection withRemoteDomainInfo(DomainInformationContainer remoteDomainInfo)
Information about the destination (remote) domain.
remoteDomainInfo - Information about the destination (remote) domain.public void setConnectionId(String connectionId)
The unique identifier of the connection.
connectionId - The unique identifier of the connection.public String getConnectionId()
The unique identifier of the connection.
public InboundConnection withConnectionId(String connectionId)
The unique identifier of the connection.
connectionId - The unique identifier of the connection.public void setConnectionStatus(InboundConnectionStatus connectionStatus)
The current status of the connection.
connectionStatus - The current status of the connection.public InboundConnectionStatus getConnectionStatus()
The current status of the connection.
public InboundConnection withConnectionStatus(InboundConnectionStatus connectionStatus)
The current status of the connection.
connectionStatus - The current status of the connection.public void setConnectionMode(String connectionMode)
The connection mode.
connectionMode - The connection mode.ConnectionModepublic String getConnectionMode()
The connection mode.
ConnectionModepublic InboundConnection withConnectionMode(String connectionMode)
The connection mode.
connectionMode - The connection mode.ConnectionModepublic InboundConnection withConnectionMode(ConnectionMode connectionMode)
The connection mode.
connectionMode - The connection mode.ConnectionModepublic String toString()
toString in class ObjectObject.toString()public InboundConnection clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.