@Generated(value="software.amazon.awssdk:codegen") public final class CreateOutboundConnectionResponse extends OpenSearchResponse implements ToCopyableBuilder<CreateOutboundConnectionResponse.Builder,CreateOutboundConnectionResponse>
The result of a CreateOutboundConnection request. Contains details about the newly created cross-cluster
connection.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateOutboundConnectionResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateOutboundConnectionResponse.Builder |
builder() |
String |
connectionAlias()
Name of the connection.
|
String |
connectionId()
The unique identifier for the created outbound connection, which is used for subsequent operations on the
connection.
|
ConnectionMode |
connectionMode()
The connection mode.
|
String |
connectionModeAsString()
The connection mode.
|
ConnectionProperties |
connectionProperties()
The
ConnectionProperties for the newly created connection. |
OutboundConnectionStatus |
connectionStatus()
The 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 CreateOutboundConnectionResponse.Builder> |
serializableBuilderClass() |
CreateOutboundConnectionResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, 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 connectionAlias()
Name of the connection.
public final OutboundConnectionStatus connectionStatus()
The status of the connection.
public final String connectionId()
The unique identifier for the created outbound connection, which is used for subsequent operations on 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 final ConnectionProperties connectionProperties()
The ConnectionProperties for the newly created connection.
ConnectionProperties for the newly created connection.public CreateOutboundConnectionResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateOutboundConnectionResponse.Builder,CreateOutboundConnectionResponse>toBuilder in class AwsResponsepublic static CreateOutboundConnectionResponse.Builder builder()
public static Class<? extends CreateOutboundConnectionResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2023. All rights reserved.