Class DatabaseConnection
- java.lang.Object
-
- software.amazon.awssdk.services.ssmsap.model.DatabaseConnection
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DatabaseConnection.Builder,DatabaseConnection>
@Generated("software.amazon.awssdk:codegen") public final class DatabaseConnection extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DatabaseConnection.Builder,DatabaseConnection>
The connection specifications for the database.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDatabaseConnection.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DatabaseConnection.Builderbuilder()StringconnectionIp()The IP address for connection.StringdatabaseArn()The Amazon Resource Name of the connected SAP HANA database.DatabaseConnectionMethoddatabaseConnectionMethod()The method of connection.StringdatabaseConnectionMethodAsString()The method of connection.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends DatabaseConnection.Builder>serializableBuilderClass()DatabaseConnection.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
-
databaseConnectionMethod
public final DatabaseConnectionMethod databaseConnectionMethod()
The method of connection.
If the service returns an enum value that is not available in the current SDK version,
databaseConnectionMethodwill returnDatabaseConnectionMethod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdatabaseConnectionMethodAsString().- Returns:
- The method of connection.
- See Also:
DatabaseConnectionMethod
-
databaseConnectionMethodAsString
public final String databaseConnectionMethodAsString()
The method of connection.
If the service returns an enum value that is not available in the current SDK version,
databaseConnectionMethodwill returnDatabaseConnectionMethod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdatabaseConnectionMethodAsString().- Returns:
- The method of connection.
- See Also:
DatabaseConnectionMethod
-
databaseArn
public final String databaseArn()
The Amazon Resource Name of the connected SAP HANA database.
- Returns:
- The Amazon Resource Name of the connected SAP HANA database.
-
connectionIp
public final String connectionIp()
The IP address for connection.
- Returns:
- The IP address for connection.
-
toBuilder
public DatabaseConnection.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DatabaseConnection.Builder,DatabaseConnection>
-
builder
public static DatabaseConnection.Builder builder()
-
serializableBuilderClass
public static Class<? extends DatabaseConnection.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.
-
-