@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetEngineStatusResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetEngineStatusResult() |
Modifier and Type | Method and Description |
---|---|
GetEngineStatusResult |
addLabModeEntry(String key,
String value)
Add a single LabMode entry
|
GetEngineStatusResult |
addSettingsEntry(String key,
String value)
Add a single Settings entry
|
GetEngineStatusResult |
clearLabModeEntries()
Removes all the entries added into LabMode.
|
GetEngineStatusResult |
clearSettingsEntries()
Removes all the entries added into Settings.
|
GetEngineStatusResult |
clone() |
boolean |
equals(Object obj) |
String |
getDbEngineVersion()
Set to the Neptune engine version running on your DB cluster.
|
String |
getDfeQueryEngine()
Set to
enabled if the DFE engine is fully enabled, or to viaQueryHint (the default) if
the DFE engine is only used with queries that have the useDFE query hint set to true . |
QueryLanguageVersion |
getGremlin()
Contains information about the Gremlin query language available on your cluster.
|
Map<String,String> |
getLabMode()
Contains Lab Mode settings being used by the engine.
|
QueryLanguageVersion |
getOpencypher()
Contains information about the openCypher query language available on your cluster.
|
String |
getRole()
Set to
reader if the instance is a read-replica, or to writer if the instance is the
primary instance. |
Integer |
getRollingBackTrxCount()
If there are transactions being rolled back, this field is set to the number of such transactions.
|
String |
getRollingBackTrxEarliestStartTime()
Set to the start time of the earliest transaction being rolled back.
|
Map<String,String> |
getSettings()
Contains information about the current settings on your DB cluster.
|
QueryLanguageVersion |
getSparql()
Contains information about the SPARQL query language available on your cluster.
|
String |
getStartTime()
Set to the UTC time at which the current server process started.
|
String |
getStatus()
Set to
healthy if the instance is not experiencing problems. |
int |
hashCode() |
void |
setDbEngineVersion(String dbEngineVersion)
Set to the Neptune engine version running on your DB cluster.
|
void |
setDfeQueryEngine(String dfeQueryEngine)
Set to
enabled if the DFE engine is fully enabled, or to viaQueryHint (the default) if
the DFE engine is only used with queries that have the useDFE query hint set to true . |
void |
setGremlin(QueryLanguageVersion gremlin)
Contains information about the Gremlin query language available on your cluster.
|
void |
setLabMode(Map<String,String> labMode)
Contains Lab Mode settings being used by the engine.
|
void |
setOpencypher(QueryLanguageVersion opencypher)
Contains information about the openCypher query language available on your cluster.
|
void |
setRole(String role)
Set to
reader if the instance is a read-replica, or to writer if the instance is the
primary instance. |
void |
setRollingBackTrxCount(Integer rollingBackTrxCount)
If there are transactions being rolled back, this field is set to the number of such transactions.
|
void |
setRollingBackTrxEarliestStartTime(String rollingBackTrxEarliestStartTime)
Set to the start time of the earliest transaction being rolled back.
|
void |
setSettings(Map<String,String> settings)
Contains information about the current settings on your DB cluster.
|
void |
setSparql(QueryLanguageVersion sparql)
Contains information about the SPARQL query language available on your cluster.
|
void |
setStartTime(String startTime)
Set to the UTC time at which the current server process started.
|
void |
setStatus(String status)
Set to
healthy if the instance is not experiencing problems. |
String |
toString()
Returns a string representation of this object.
|
GetEngineStatusResult |
withDbEngineVersion(String dbEngineVersion)
Set to the Neptune engine version running on your DB cluster.
|
GetEngineStatusResult |
withDfeQueryEngine(String dfeQueryEngine)
Set to
enabled if the DFE engine is fully enabled, or to viaQueryHint (the default) if
the DFE engine is only used with queries that have the useDFE query hint set to true . |
GetEngineStatusResult |
withGremlin(QueryLanguageVersion gremlin)
Contains information about the Gremlin query language available on your cluster.
|
GetEngineStatusResult |
withLabMode(Map<String,String> labMode)
Contains Lab Mode settings being used by the engine.
|
GetEngineStatusResult |
withOpencypher(QueryLanguageVersion opencypher)
Contains information about the openCypher query language available on your cluster.
|
GetEngineStatusResult |
withRole(String role)
Set to
reader if the instance is a read-replica, or to writer if the instance is the
primary instance. |
GetEngineStatusResult |
withRollingBackTrxCount(Integer rollingBackTrxCount)
If there are transactions being rolled back, this field is set to the number of such transactions.
|
GetEngineStatusResult |
withRollingBackTrxEarliestStartTime(String rollingBackTrxEarliestStartTime)
Set to the start time of the earliest transaction being rolled back.
|
GetEngineStatusResult |
withSettings(Map<String,String> settings)
Contains information about the current settings on your DB cluster.
|
GetEngineStatusResult |
withSparql(QueryLanguageVersion sparql)
Contains information about the SPARQL query language available on your cluster.
|
GetEngineStatusResult |
withStartTime(String startTime)
Set to the UTC time at which the current server process started.
|
GetEngineStatusResult |
withStatus(String status)
Set to
healthy if the instance is not experiencing problems. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setStatus(String status)
Set to healthy
if the instance is not experiencing problems. If the instance is recovering from a
crash or from being rebooted and there are active transactions running from the latest server shutdown, status is
set to recovery
.
status
- Set to healthy
if the instance is not experiencing problems. If the instance is recovering
from a crash or from being rebooted and there are active transactions running from the latest server
shutdown, status is set to recovery
.public String getStatus()
Set to healthy
if the instance is not experiencing problems. If the instance is recovering from a
crash or from being rebooted and there are active transactions running from the latest server shutdown, status is
set to recovery
.
healthy
if the instance is not experiencing problems. If the instance is recovering
from a crash or from being rebooted and there are active transactions running from the latest server
shutdown, status is set to recovery
.public GetEngineStatusResult withStatus(String status)
Set to healthy
if the instance is not experiencing problems. If the instance is recovering from a
crash or from being rebooted and there are active transactions running from the latest server shutdown, status is
set to recovery
.
status
- Set to healthy
if the instance is not experiencing problems. If the instance is recovering
from a crash or from being rebooted and there are active transactions running from the latest server
shutdown, status is set to recovery
.public void setStartTime(String startTime)
Set to the UTC time at which the current server process started.
startTime
- Set to the UTC time at which the current server process started.public String getStartTime()
Set to the UTC time at which the current server process started.
public GetEngineStatusResult withStartTime(String startTime)
Set to the UTC time at which the current server process started.
startTime
- Set to the UTC time at which the current server process started.public void setDbEngineVersion(String dbEngineVersion)
Set to the Neptune engine version running on your DB cluster. If this engine version has been manually patched
since it was released, the version number is prefixed by Patch-
.
dbEngineVersion
- Set to the Neptune engine version running on your DB cluster. If this engine version has been manually
patched since it was released, the version number is prefixed by Patch-
.public String getDbEngineVersion()
Set to the Neptune engine version running on your DB cluster. If this engine version has been manually patched
since it was released, the version number is prefixed by Patch-
.
Patch-
.public GetEngineStatusResult withDbEngineVersion(String dbEngineVersion)
Set to the Neptune engine version running on your DB cluster. If this engine version has been manually patched
since it was released, the version number is prefixed by Patch-
.
dbEngineVersion
- Set to the Neptune engine version running on your DB cluster. If this engine version has been manually
patched since it was released, the version number is prefixed by Patch-
.public void setRole(String role)
Set to reader
if the instance is a read-replica, or to writer
if the instance is the
primary instance.
role
- Set to reader
if the instance is a read-replica, or to writer
if the instance is
the primary instance.public String getRole()
Set to reader
if the instance is a read-replica, or to writer
if the instance is the
primary instance.
reader
if the instance is a read-replica, or to writer
if the instance
is the primary instance.public GetEngineStatusResult withRole(String role)
Set to reader
if the instance is a read-replica, or to writer
if the instance is the
primary instance.
role
- Set to reader
if the instance is a read-replica, or to writer
if the instance is
the primary instance.public void setDfeQueryEngine(String dfeQueryEngine)
Set to enabled
if the DFE engine is fully enabled, or to viaQueryHint
(the default) if
the DFE engine is only used with queries that have the useDFE
query hint set to true
.
dfeQueryEngine
- Set to enabled
if the DFE engine is fully enabled, or to viaQueryHint
(the
default) if the DFE engine is only used with queries that have the useDFE
query hint set to
true
.public String getDfeQueryEngine()
Set to enabled
if the DFE engine is fully enabled, or to viaQueryHint
(the default) if
the DFE engine is only used with queries that have the useDFE
query hint set to true
.
enabled
if the DFE engine is fully enabled, or to viaQueryHint
(the
default) if the DFE engine is only used with queries that have the useDFE
query hint set to
true
.public GetEngineStatusResult withDfeQueryEngine(String dfeQueryEngine)
Set to enabled
if the DFE engine is fully enabled, or to viaQueryHint
(the default) if
the DFE engine is only used with queries that have the useDFE
query hint set to true
.
dfeQueryEngine
- Set to enabled
if the DFE engine is fully enabled, or to viaQueryHint
(the
default) if the DFE engine is only used with queries that have the useDFE
query hint set to
true
.public void setGremlin(QueryLanguageVersion gremlin)
Contains information about the Gremlin query language available on your cluster. Specifically, it contains a version field that specifies the current TinkerPop version being used by the engine.
gremlin
- Contains information about the Gremlin query language available on your cluster. Specifically, it contains
a version field that specifies the current TinkerPop version being used by the engine.public QueryLanguageVersion getGremlin()
Contains information about the Gremlin query language available on your cluster. Specifically, it contains a version field that specifies the current TinkerPop version being used by the engine.
public GetEngineStatusResult withGremlin(QueryLanguageVersion gremlin)
Contains information about the Gremlin query language available on your cluster. Specifically, it contains a version field that specifies the current TinkerPop version being used by the engine.
gremlin
- Contains information about the Gremlin query language available on your cluster. Specifically, it contains
a version field that specifies the current TinkerPop version being used by the engine.public void setSparql(QueryLanguageVersion sparql)
Contains information about the SPARQL query language available on your cluster. Specifically, it contains a version field that specifies the current SPARQL version being used by the engine.
sparql
- Contains information about the SPARQL query language available on your cluster. Specifically, it contains
a version field that specifies the current SPARQL version being used by the engine.public QueryLanguageVersion getSparql()
Contains information about the SPARQL query language available on your cluster. Specifically, it contains a version field that specifies the current SPARQL version being used by the engine.
public GetEngineStatusResult withSparql(QueryLanguageVersion sparql)
Contains information about the SPARQL query language available on your cluster. Specifically, it contains a version field that specifies the current SPARQL version being used by the engine.
sparql
- Contains information about the SPARQL query language available on your cluster. Specifically, it contains
a version field that specifies the current SPARQL version being used by the engine.public void setOpencypher(QueryLanguageVersion opencypher)
Contains information about the openCypher query language available on your cluster. Specifically, it contains a version field that specifies the current operCypher version being used by the engine.
opencypher
- Contains information about the openCypher query language available on your cluster. Specifically, it
contains a version field that specifies the current operCypher version being used by the engine.public QueryLanguageVersion getOpencypher()
Contains information about the openCypher query language available on your cluster. Specifically, it contains a version field that specifies the current operCypher version being used by the engine.
public GetEngineStatusResult withOpencypher(QueryLanguageVersion opencypher)
Contains information about the openCypher query language available on your cluster. Specifically, it contains a version field that specifies the current operCypher version being used by the engine.
opencypher
- Contains information about the openCypher query language available on your cluster. Specifically, it
contains a version field that specifies the current operCypher version being used by the engine.public Map<String,String> getLabMode()
Contains Lab Mode settings being used by the engine.
public void setLabMode(Map<String,String> labMode)
Contains Lab Mode settings being used by the engine.
labMode
- Contains Lab Mode settings being used by the engine.public GetEngineStatusResult withLabMode(Map<String,String> labMode)
Contains Lab Mode settings being used by the engine.
labMode
- Contains Lab Mode settings being used by the engine.public GetEngineStatusResult addLabModeEntry(String key, String value)
public GetEngineStatusResult clearLabModeEntries()
public void setRollingBackTrxCount(Integer rollingBackTrxCount)
If there are transactions being rolled back, this field is set to the number of such transactions. If there are none, the field doesn't appear at all.
rollingBackTrxCount
- If there are transactions being rolled back, this field is set to the number of such transactions. If
there are none, the field doesn't appear at all.public Integer getRollingBackTrxCount()
If there are transactions being rolled back, this field is set to the number of such transactions. If there are none, the field doesn't appear at all.
public GetEngineStatusResult withRollingBackTrxCount(Integer rollingBackTrxCount)
If there are transactions being rolled back, this field is set to the number of such transactions. If there are none, the field doesn't appear at all.
rollingBackTrxCount
- If there are transactions being rolled back, this field is set to the number of such transactions. If
there are none, the field doesn't appear at all.public void setRollingBackTrxEarliestStartTime(String rollingBackTrxEarliestStartTime)
Set to the start time of the earliest transaction being rolled back. If no transactions are being rolled back, the field doesn't appear at all.
rollingBackTrxEarliestStartTime
- Set to the start time of the earliest transaction being rolled back. If no transactions are being rolled
back, the field doesn't appear at all.public String getRollingBackTrxEarliestStartTime()
Set to the start time of the earliest transaction being rolled back. If no transactions are being rolled back, the field doesn't appear at all.
public GetEngineStatusResult withRollingBackTrxEarliestStartTime(String rollingBackTrxEarliestStartTime)
Set to the start time of the earliest transaction being rolled back. If no transactions are being rolled back, the field doesn't appear at all.
rollingBackTrxEarliestStartTime
- Set to the start time of the earliest transaction being rolled back. If no transactions are being rolled
back, the field doesn't appear at all.public Map<String,String> getSettings()
Contains information about the current settings on your DB cluster. For example, contains the current cluster
query timeout setting (clusterQueryTimeoutInMs
).
clusterQueryTimeoutInMs
).public void setSettings(Map<String,String> settings)
Contains information about the current settings on your DB cluster. For example, contains the current cluster
query timeout setting (clusterQueryTimeoutInMs
).
settings
- Contains information about the current settings on your DB cluster. For example, contains the current
cluster query timeout setting (clusterQueryTimeoutInMs
).public GetEngineStatusResult withSettings(Map<String,String> settings)
Contains information about the current settings on your DB cluster. For example, contains the current cluster
query timeout setting (clusterQueryTimeoutInMs
).
settings
- Contains information about the current settings on your DB cluster. For example, contains the current
cluster query timeout setting (clusterQueryTimeoutInMs
).public GetEngineStatusResult addSettingsEntry(String key, String value)
public GetEngineStatusResult clearSettingsEntries()
public String toString()
toString
in class Object
Object.toString()
public GetEngineStatusResult clone()