@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateDBClusterEndpointResult extends AmazonWebServiceResult<ResponseMetadata> 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 |
---|
CreateDBClusterEndpointResult() |
Modifier and Type | Method and Description |
---|---|
CreateDBClusterEndpointResult |
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.
|
CreateDBClusterEndpointResult |
withCustomEndpointType(String customEndpointType)
The type associated with a custom endpoint.
|
CreateDBClusterEndpointResult |
withDBClusterEndpointArn(String dBClusterEndpointArn)
The Amazon Resource Name (ARN) for the endpoint.
|
CreateDBClusterEndpointResult |
withDBClusterEndpointIdentifier(String dBClusterEndpointIdentifier)
The identifier associated with the endpoint.
|
CreateDBClusterEndpointResult |
withDBClusterEndpointResourceIdentifier(String dBClusterEndpointResourceIdentifier)
A unique system-generated identifier for an endpoint.
|
CreateDBClusterEndpointResult |
withDBClusterIdentifier(String dBClusterIdentifier)
The DB cluster identifier of the DB cluster associated with the endpoint.
|
CreateDBClusterEndpointResult |
withEndpoint(String endpoint)
The DNS address of the endpoint.
|
CreateDBClusterEndpointResult |
withEndpointType(String endpointType)
The type of the endpoint.
|
CreateDBClusterEndpointResult |
withExcludedMembers(Collection<String> excludedMembers)
List of DB instance identifiers that aren't part of the custom endpoint group.
|
CreateDBClusterEndpointResult |
withExcludedMembers(String... excludedMembers)
List of DB instance identifiers that aren't part of the custom endpoint group.
|
CreateDBClusterEndpointResult |
withStaticMembers(Collection<String> staticMembers)
List of DB instance identifiers that are part of the custom endpoint group.
|
CreateDBClusterEndpointResult |
withStaticMembers(String... staticMembers)
List of DB instance identifiers that are part of the custom endpoint group.
|
CreateDBClusterEndpointResult |
withStatus(String status)
The current status of the endpoint.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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 CreateDBClusterEndpointResult 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 CreateDBClusterEndpointResult 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 CreateDBClusterEndpointResult 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 CreateDBClusterEndpointResult 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 CreateDBClusterEndpointResult 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 CreateDBClusterEndpointResult 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 CreateDBClusterEndpointResult 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 CreateDBClusterEndpointResult 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 CreateDBClusterEndpointResult 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 CreateDBClusterEndpointResult 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 CreateDBClusterEndpointResult 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 CreateDBClusterEndpointResult 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 CreateDBClusterEndpointResult clone()