Class Endpoint
- java.lang.Object
-
- software.amazon.awssdk.services.rds.model.Endpoint
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<Endpoint.Builder,Endpoint>
@Generated("software.amazon.awssdk:codegen") public final class Endpoint extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Endpoint.Builder,Endpoint>
This data type represents the information you need to connect to an Amazon RDS DB instance. This data type is used as a response element in the following actions:
-
CreateDBInstance
-
DescribeDBInstances
-
DeleteDBInstance
For the data structure that represents Amazon Aurora DB cluster endpoints, see
DBClusterEndpoint
.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
Endpoint.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
address()
Specifies the DNS address of the DB instance.static Endpoint.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
hostedZoneId()
Specifies the ID that Amazon Route 53 assigns when you create a hosted zone.Integer
port()
Specifies the port that the database engine is listening on.Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends Endpoint.Builder>
serializableBuilderClass()
Endpoint.Builder
toBuilder()
String
toString()
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
-
address
public final String address()
Specifies the DNS address of the DB instance.
- Returns:
- Specifies the DNS address of the DB instance.
-
port
public final Integer port()
Specifies the port that the database engine is listening on.
- Returns:
- Specifies the port that the database engine is listening on.
-
hostedZoneId
public final String hostedZoneId()
Specifies the ID that Amazon Route 53 assigns when you create a hosted zone.
- Returns:
- Specifies the ID that Amazon Route 53 assigns when you create a hosted zone.
-
toBuilder
public Endpoint.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<Endpoint.Builder,Endpoint>
-
builder
public static Endpoint.Builder builder()
-
serializableBuilderClass
public static Class<? extends Endpoint.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
-
-