Class CreateOutboundConnectionResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.opensearch.model.OpenSearchResponse
-
- software.amazon.awssdk.services.opensearch.model.CreateOutboundConnectionResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CreateOutboundConnectionResponse.Builder,CreateOutboundConnectionResponse>
@Generated("software.amazon.awssdk:codegen") public final class CreateOutboundConnectionResponse extends OpenSearchResponse implements ToCopyableBuilder<CreateOutboundConnectionResponse.Builder,CreateOutboundConnectionResponse>
The result of a
CreateOutboundConnectionrequest. Contains details about the newly created cross-cluster connection.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCreateOutboundConnectionResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateOutboundConnectionResponse.Builderbuilder()StringconnectionAlias()Name of the connection.StringconnectionId()The unique identifier for the created outbound connection, which is used for subsequent operations on the connection.ConnectionModeconnectionMode()The connection mode.StringconnectionModeAsString()The connection mode.ConnectionPropertiesconnectionProperties()TheConnectionPropertiesfor the newly created connection.OutboundConnectionStatusconnectionStatus()The 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 CreateOutboundConnectionResponse.Builder>serializableBuilderClass()CreateOutboundConnectionResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.opensearch.model.OpenSearchResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
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.
-
connectionAlias
public final String connectionAlias()
Name of the connection.
- Returns:
- Name of the connection.
-
connectionStatus
public final OutboundConnectionStatus connectionStatus()
The status of the connection.
- Returns:
- The status of the connection.
-
connectionId
public final String connectionId()
The unique identifier for the created outbound connection, which is used for subsequent operations on the connection.
- Returns:
- The unique identifier for the created outbound connection, which is used for subsequent operations on 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
-
connectionProperties
public final ConnectionProperties connectionProperties()
The
ConnectionPropertiesfor the newly created connection.- Returns:
- The
ConnectionPropertiesfor the newly created connection.
-
toBuilder
public CreateOutboundConnectionResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateOutboundConnectionResponse.Builder,CreateOutboundConnectionResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static CreateOutboundConnectionResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateOutboundConnectionResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-