@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DBClusterEndpoint extends Object implements Serializable, Cloneable
This data type represents the information you need to connect to an Amazon Aurora DB cluster. This data type is used as a response element in the following actions:
CreateDBClusterEndpoint
DescribeDBClusterEndpoints
ModifyDBClusterEndpoint
DeleteDBClusterEndpoint
For the data structure that represents Amazon RDS DB instance endpoints, see Endpoint
.
Constructor and Description |
---|
DBClusterEndpoint() |
Modifier and Type | Method and Description |
---|---|
DBClusterEndpoint |
clone() |
boolean |
equals(Object obj) |
String |
getCustomEndpointType()
The type associated with a custom endpoint.
|
String |
getDBClusterEndpointArn()
The Amazon Resource Name (ARN) for the endpoint.
|
String |
getDBClusterEndpointIdentifier()
The identifier associated with the endpoint.
|
String |
getDBClusterEndpointResourceIdentifier()
A unique system-generated identifier for an endpoint.
|
String |
getDBClusterIdentifier()
The DB cluster identifier of the DB cluster associated with the endpoint.
|
String |
getEndpoint()
The DNS address of the endpoint.
|
String |
getEndpointType()
The type of the endpoint.
|
List<String> |
getExcludedMembers()
List of DB instance identifiers that aren't part of the custom endpoint group.
|
List<String> |
getStaticMembers()
List of DB instance identifiers that are part of the custom endpoint group.
|
String |
getStatus()
The current status of the endpoint.
|
int |
hashCode() |
void |
setCustomEndpointType(String customEndpointType)
The type associated with a custom endpoint.
|
void |
setDBClusterEndpointArn(String dBClusterEndpointArn)
The Amazon Resource Name (ARN) for the endpoint.
|
void |
setDBClusterEndpointIdentifier(String dBClusterEndpointIdentifier)
The identifier associated with the endpoint.
|
void |
setDBClusterEndpointResourceIdentifier(String dBClusterEndpointResourceIdentifier)
A unique system-generated identifier for an endpoint.
|
void |
setDBClusterIdentifier(String dBClusterIdentifier)
The DB cluster identifier of the DB cluster associated with the endpoint.
|
void |
setEndpoint(String endpoint)
The DNS address of the endpoint.
|
void |
setEndpointType(String endpointType)
The type of the endpoint.
|
void |
setExcludedMembers(Collection<String> excludedMembers)
List of DB instance identifiers that aren't part of the custom endpoint group.
|
void |
setStaticMembers(Collection<String> staticMembers)
List of DB instance identifiers that are part of the custom endpoint group.
|
void |
setStatus(String status)
The current status of the endpoint.
|
String |
toString()
Returns a string representation of this object.
|
DBClusterEndpoint |
withCustomEndpointType(String customEndpointType)
The type associated with a custom endpoint.
|
DBClusterEndpoint |
withDBClusterEndpointArn(String dBClusterEndpointArn)
The Amazon Resource Name (ARN) for the endpoint.
|
DBClusterEndpoint |
withDBClusterEndpointIdentifier(String dBClusterEndpointIdentifier)
The identifier associated with the endpoint.
|
DBClusterEndpoint |
withDBClusterEndpointResourceIdentifier(String dBClusterEndpointResourceIdentifier)
A unique system-generated identifier for an endpoint.
|
DBClusterEndpoint |
withDBClusterIdentifier(String dBClusterIdentifier)
The DB cluster identifier of the DB cluster associated with the endpoint.
|
DBClusterEndpoint |
withEndpoint(String endpoint)
The DNS address of the endpoint.
|
DBClusterEndpoint |
withEndpointType(String endpointType)
The type of the endpoint.
|
DBClusterEndpoint |
withExcludedMembers(Collection<String> excludedMembers)
List of DB instance identifiers that aren't part of the custom endpoint group.
|
DBClusterEndpoint |
withExcludedMembers(String... excludedMembers)
List of DB instance identifiers that aren't part of the custom endpoint group.
|
DBClusterEndpoint |
withStaticMembers(Collection<String> staticMembers)
List of DB instance identifiers that are part of the custom endpoint group.
|
DBClusterEndpoint |
withStaticMembers(String... staticMembers)
List of DB instance identifiers that are part of the custom endpoint group.
|
DBClusterEndpoint |
withStatus(String status)
The current status of the endpoint.
|
public void setDBClusterEndpointIdentifier(String dBClusterEndpointIdentifier)
The identifier associated with the endpoint. This parameter is stored as a lowercase string.
dBClusterEndpointIdentifier
- The identifier associated with the endpoint. This parameter is stored as a lowercase string.public String getDBClusterEndpointIdentifier()
The identifier associated with the endpoint. This parameter is stored as a lowercase string.
public DBClusterEndpoint withDBClusterEndpointIdentifier(String dBClusterEndpointIdentifier)
The identifier associated with the endpoint. This parameter is stored as a lowercase string.
dBClusterEndpointIdentifier
- The identifier associated with the endpoint. This parameter is stored as a lowercase string.public void setDBClusterIdentifier(String dBClusterIdentifier)
The DB cluster identifier of the DB cluster associated with the endpoint. This parameter is stored as a lowercase string.
dBClusterIdentifier
- The DB cluster identifier of the DB cluster associated with the endpoint. This parameter is stored as a
lowercase string.public String getDBClusterIdentifier()
The DB cluster identifier of the DB cluster associated with the endpoint. This parameter is stored as a lowercase string.
public DBClusterEndpoint withDBClusterIdentifier(String dBClusterIdentifier)
The DB cluster identifier of the DB cluster associated with the endpoint. This parameter is stored as a lowercase string.
dBClusterIdentifier
- The DB cluster identifier of the DB cluster associated with the endpoint. This parameter is stored as a
lowercase string.public void setDBClusterEndpointResourceIdentifier(String dBClusterEndpointResourceIdentifier)
A unique system-generated identifier for an endpoint. It remains the same for the whole life of the endpoint.
dBClusterEndpointResourceIdentifier
- A unique system-generated identifier for an endpoint. It remains the same for the whole life of the
endpoint.public String getDBClusterEndpointResourceIdentifier()
A unique system-generated identifier for an endpoint. It remains the same for the whole life of the endpoint.
public DBClusterEndpoint withDBClusterEndpointResourceIdentifier(String dBClusterEndpointResourceIdentifier)
A unique system-generated identifier for an endpoint. It remains the same for the whole life of the endpoint.
dBClusterEndpointResourceIdentifier
- A unique system-generated identifier for an endpoint. It remains the same for the whole life of the
endpoint.public void setEndpoint(String endpoint)
The DNS address of the endpoint.
endpoint
- The DNS address of the endpoint.public String getEndpoint()
The DNS address of the endpoint.
public DBClusterEndpoint withEndpoint(String endpoint)
The DNS address of the endpoint.
endpoint
- The DNS address of the endpoint.public void setStatus(String status)
The current status of the endpoint. One of: creating
, available
, deleting
,
inactive
, modifying
. The inactive
state applies to an endpoint that can't
be used for a certain kind of cluster, such as a writer
endpoint for a read-only secondary cluster
in a global database.
status
- The current status of the endpoint. One of: creating
, available
,
deleting
, inactive
, modifying
. The inactive
state
applies to an endpoint that can't be used for a certain kind of cluster, such as a writer
endpoint for a read-only secondary cluster in a global database.public String getStatus()
The current status of the endpoint. One of: creating
, available
, deleting
,
inactive
, modifying
. The inactive
state applies to an endpoint that can't
be used for a certain kind of cluster, such as a writer
endpoint for a read-only secondary cluster
in a global database.
creating
, available
,
deleting
, inactive
, modifying
. The inactive
state
applies to an endpoint that can't be used for a certain kind of cluster, such as a writer
endpoint for a read-only secondary cluster in a global database.public DBClusterEndpoint withStatus(String status)
The current status of the endpoint. One of: creating
, available
, deleting
,
inactive
, modifying
. The inactive
state applies to an endpoint that can't
be used for a certain kind of cluster, such as a writer
endpoint for a read-only secondary cluster
in a global database.
status
- The current status of the endpoint. One of: creating
, available
,
deleting
, inactive
, modifying
. The inactive
state
applies to an endpoint that can't be used for a certain kind of cluster, such as a writer
endpoint for a read-only secondary cluster in a global database.public void setEndpointType(String endpointType)
The type of the endpoint. One of: READER
, WRITER
, CUSTOM
.
endpointType
- The type of the endpoint. One of: READER
, WRITER
, CUSTOM
.public String getEndpointType()
The type of the endpoint. One of: READER
, WRITER
, CUSTOM
.
READER
, WRITER
, CUSTOM
.public DBClusterEndpoint withEndpointType(String endpointType)
The type of the endpoint. One of: READER
, WRITER
, CUSTOM
.
endpointType
- The type of the endpoint. One of: READER
, WRITER
, CUSTOM
.public void setCustomEndpointType(String customEndpointType)
The type associated with a custom endpoint. One of: READER
, WRITER
, ANY
.
customEndpointType
- The type associated with a custom endpoint. One of: READER
, WRITER
,
ANY
.public String getCustomEndpointType()
The type associated with a custom endpoint. One of: READER
, WRITER
, ANY
.
READER
, WRITER
,
ANY
.public DBClusterEndpoint withCustomEndpointType(String customEndpointType)
The type associated with a custom endpoint. One of: READER
, WRITER
, ANY
.
customEndpointType
- The type associated with a custom endpoint. One of: READER
, WRITER
,
ANY
.public List<String> getStaticMembers()
List of DB instance identifiers that are part of the custom endpoint group.
public void setStaticMembers(Collection<String> staticMembers)
List of DB instance identifiers that are part of the custom endpoint group.
staticMembers
- List of DB instance identifiers that are part of the custom endpoint group.public DBClusterEndpoint withStaticMembers(String... staticMembers)
List of DB instance identifiers that are part of the custom endpoint group.
NOTE: This method appends the values to the existing list (if any). Use
setStaticMembers(java.util.Collection)
or withStaticMembers(java.util.Collection)
if you want
to override the existing values.
staticMembers
- List of DB instance identifiers that are part of the custom endpoint group.public DBClusterEndpoint withStaticMembers(Collection<String> staticMembers)
List of DB instance identifiers that are part of the custom endpoint group.
staticMembers
- List of DB instance identifiers that are part of the custom endpoint group.public List<String> getExcludedMembers()
List of DB instance identifiers that aren't part of the custom endpoint group. All other eligible instances are reachable through the custom endpoint. Only relevant if the list of static members is empty.
public void setExcludedMembers(Collection<String> excludedMembers)
List of DB instance identifiers that aren't part of the custom endpoint group. All other eligible instances are reachable through the custom endpoint. Only relevant if the list of static members is empty.
excludedMembers
- List of DB instance identifiers that aren't part of the custom endpoint group. All other eligible
instances are reachable through the custom endpoint. Only relevant if the list of static members is empty.public DBClusterEndpoint withExcludedMembers(String... excludedMembers)
List of DB instance identifiers that aren't part of the custom endpoint group. All other eligible instances are reachable through the custom endpoint. Only relevant if the list of static members is empty.
NOTE: This method appends the values to the existing list (if any). Use
setExcludedMembers(java.util.Collection)
or withExcludedMembers(java.util.Collection)
if you
want to override the existing values.
excludedMembers
- List of DB instance identifiers that aren't part of the custom endpoint group. All other eligible
instances are reachable through the custom endpoint. Only relevant if the list of static members is empty.public DBClusterEndpoint withExcludedMembers(Collection<String> excludedMembers)
List of DB instance identifiers that aren't part of the custom endpoint group. All other eligible instances are reachable through the custom endpoint. Only relevant if the list of static members is empty.
excludedMembers
- List of DB instance identifiers that aren't part of the custom endpoint group. All other eligible
instances are reachable through the custom endpoint. Only relevant if the list of static members is empty.public void setDBClusterEndpointArn(String dBClusterEndpointArn)
The Amazon Resource Name (ARN) for the endpoint.
dBClusterEndpointArn
- The Amazon Resource Name (ARN) for the endpoint.public String getDBClusterEndpointArn()
The Amazon Resource Name (ARN) for the endpoint.
public DBClusterEndpoint withDBClusterEndpointArn(String dBClusterEndpointArn)
The Amazon Resource Name (ARN) for the endpoint.
dBClusterEndpointArn
- The Amazon Resource Name (ARN) for the endpoint.public String toString()
toString
in class Object
Object.toString()
public DBClusterEndpoint clone()