@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateOutboundConnectionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
The result of a CreateOutboundConnection
request. Contains the details about the newly created
cross-cluster connection.
Constructor and Description |
---|
CreateOutboundConnectionResult() |
Modifier and Type | Method and Description |
---|---|
CreateOutboundConnectionResult |
clone() |
boolean |
equals(Object obj) |
String |
getConnectionAlias()
The connection alias provided during the create connection request.
|
String |
getConnectionId()
The unique ID for the created outbound connection, which is used for subsequent operations on the connection.
|
OutboundConnectionStatus |
getConnectionStatus()
The
OutboundConnectionStatus for the newly created connection. |
DomainInformationContainer |
getLocalDomainInfo()
The
AWSDomainInformation for the local OpenSearch domain. |
DomainInformationContainer |
getRemoteDomainInfo()
The
AWSDomainInformation for the remote OpenSearch domain. |
int |
hashCode() |
void |
setConnectionAlias(String connectionAlias)
The connection alias provided during the create connection request.
|
void |
setConnectionId(String connectionId)
The unique ID for the created outbound connection, which is used for subsequent operations on the connection.
|
void |
setConnectionStatus(OutboundConnectionStatus connectionStatus)
The
OutboundConnectionStatus for the newly created connection. |
void |
setLocalDomainInfo(DomainInformationContainer localDomainInfo)
The
AWSDomainInformation for the local OpenSearch domain. |
void |
setRemoteDomainInfo(DomainInformationContainer remoteDomainInfo)
The
AWSDomainInformation for the remote OpenSearch domain. |
String |
toString()
Returns a string representation of this object.
|
CreateOutboundConnectionResult |
withConnectionAlias(String connectionAlias)
The connection alias provided during the create connection request.
|
CreateOutboundConnectionResult |
withConnectionId(String connectionId)
The unique ID for the created outbound connection, which is used for subsequent operations on the connection.
|
CreateOutboundConnectionResult |
withConnectionStatus(OutboundConnectionStatus connectionStatus)
The
OutboundConnectionStatus for the newly created connection. |
CreateOutboundConnectionResult |
withLocalDomainInfo(DomainInformationContainer localDomainInfo)
The
AWSDomainInformation for the local OpenSearch domain. |
CreateOutboundConnectionResult |
withRemoteDomainInfo(DomainInformationContainer remoteDomainInfo)
The
AWSDomainInformation for the remote OpenSearch domain. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setLocalDomainInfo(DomainInformationContainer localDomainInfo)
The AWSDomainInformation
for the local OpenSearch domain.
localDomainInfo
- The AWSDomainInformation
for the local OpenSearch domain.public DomainInformationContainer getLocalDomainInfo()
The AWSDomainInformation
for the local OpenSearch domain.
AWSDomainInformation
for the local OpenSearch domain.public CreateOutboundConnectionResult withLocalDomainInfo(DomainInformationContainer localDomainInfo)
The AWSDomainInformation
for the local OpenSearch domain.
localDomainInfo
- The AWSDomainInformation
for the local OpenSearch domain.public void setRemoteDomainInfo(DomainInformationContainer remoteDomainInfo)
The AWSDomainInformation
for the remote OpenSearch domain.
remoteDomainInfo
- The AWSDomainInformation
for the remote OpenSearch domain.public DomainInformationContainer getRemoteDomainInfo()
The AWSDomainInformation
for the remote OpenSearch domain.
AWSDomainInformation
for the remote OpenSearch domain.public CreateOutboundConnectionResult withRemoteDomainInfo(DomainInformationContainer remoteDomainInfo)
The AWSDomainInformation
for the remote OpenSearch domain.
remoteDomainInfo
- The AWSDomainInformation
for the remote OpenSearch domain.public void setConnectionAlias(String connectionAlias)
The connection alias provided during the create connection request.
connectionAlias
- The connection alias provided during the create connection request.public String getConnectionAlias()
The connection alias provided during the create connection request.
public CreateOutboundConnectionResult withConnectionAlias(String connectionAlias)
The connection alias provided during the create connection request.
connectionAlias
- The connection alias provided during the create connection request.public void setConnectionStatus(OutboundConnectionStatus connectionStatus)
The OutboundConnectionStatus
for the newly created connection.
connectionStatus
- The OutboundConnectionStatus
for the newly created connection.public OutboundConnectionStatus getConnectionStatus()
The OutboundConnectionStatus
for the newly created connection.
OutboundConnectionStatus
for the newly created connection.public CreateOutboundConnectionResult withConnectionStatus(OutboundConnectionStatus connectionStatus)
The OutboundConnectionStatus
for the newly created connection.
connectionStatus
- The OutboundConnectionStatus
for the newly created connection.public void setConnectionId(String connectionId)
The unique ID for the created outbound connection, which is used for subsequent operations on the connection.
connectionId
- The unique ID for the created outbound connection, which is used for subsequent operations on the
connection.public String getConnectionId()
The unique ID for the created outbound connection, which is used for subsequent operations on the connection.
public CreateOutboundConnectionResult withConnectionId(String connectionId)
The unique ID for the created outbound connection, which is used for subsequent operations on the connection.
connectionId
- The unique ID for the created outbound connection, which is used for subsequent operations on the
connection.public String toString()
toString
in class Object
Object.toString()
public CreateOutboundConnectionResult clone()