public class CustomEndpointInfo
extends java.lang.Object
| Constructor and Description |
|---|
CustomEndpointInfo(java.lang.String endpointIdentifier,
java.lang.String clusterIdentifier,
java.lang.String url,
CustomEndpointRoleType roleType,
java.util.Set<java.lang.String> members,
MemberListType memberListType)
Constructs a new CustomEndpointInfo instance with the specified details.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
static CustomEndpointInfo |
fromDBClusterEndpoint(software.amazon.awssdk.services.rds.model.DBClusterEndpoint responseEndpointInfo)
Constructs a CustomEndpointInfo object from a DBClusterEndpoint instance as returned by the RDS API.
|
java.lang.String |
getClusterIdentifier()
Gets the cluster identifier for the cluster that the custom endpoint belongs to.
|
CustomEndpointRoleType |
getCustomEndpointType()
Gets the role type of the custom endpoint.
|
java.lang.String |
getEndpointIdentifier()
Gets the endpoint identifier for the custom endpoint.
|
java.util.Set<java.lang.String> |
getExcludedMembers()
Gets the excluded members of the custom endpoint.
|
MemberListType |
getMemberListType()
Gets the member list type of the custom endpoint.
|
java.util.Set<java.lang.String> |
getStaticMembers()
Gets the static members of the custom endpoint.
|
java.lang.String |
getUrl()
Gets the URL for the custom endpoint.
|
int |
hashCode() |
java.lang.String |
toString() |
public CustomEndpointInfo(java.lang.String endpointIdentifier,
java.lang.String clusterIdentifier,
java.lang.String url,
CustomEndpointRoleType roleType,
java.util.Set<java.lang.String> members,
MemberListType memberListType)
endpointIdentifier - The endpoint identifier for the custom endpoint. For example, if the custom endpoint URL
is "my-custom-endpoint.cluster-custom-XYZ.us-east-1.rds.amazonaws.com", the endpoint
identifier is "my-custom-endpoint".clusterIdentifier - The cluster identifier for the cluster that the custom endpoint belongs to.url - The URL for the custom endpoint.roleType - The role type of the custom endpoint.members - The instance IDs for the hosts in the custom endpoint.memberListType - The list type for members.public static CustomEndpointInfo fromDBClusterEndpoint(software.amazon.awssdk.services.rds.model.DBClusterEndpoint responseEndpointInfo)
responseEndpointInfo - The endpoint info returned by the RDS API.public java.lang.String getEndpointIdentifier()
public java.lang.String getClusterIdentifier()
public java.lang.String getUrl()
public CustomEndpointRoleType getCustomEndpointType()
public MemberListType getMemberListType()
public java.util.Set<java.lang.String> getStaticMembers()
public java.util.Set<java.lang.String> getExcludedMembers()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object