@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class KxDatabaseConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The configuration of data that is available for querying from this database.
Constructor and Description |
---|
KxDatabaseConfiguration() |
Modifier and Type | Method and Description |
---|---|
KxDatabaseConfiguration |
clone() |
boolean |
equals(Object obj) |
List<KxDatabaseCacheConfiguration> |
getCacheConfigurations()
Configuration details for the disk cache used to increase performance reading from a kdb database mounted to the
cluster.
|
String |
getChangesetId()
A unique identifier of the changeset that is associated with the cluster.
|
String |
getDatabaseName()
The name of the kdb database.
|
KxDataviewConfiguration |
getDataviewConfiguration()
The configuration of the dataview to be used with specified cluster.
|
String |
getDataviewName()
The name of the dataview to be used for caching historical data on disk.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCacheConfigurations(Collection<KxDatabaseCacheConfiguration> cacheConfigurations)
Configuration details for the disk cache used to increase performance reading from a kdb database mounted to the
cluster.
|
void |
setChangesetId(String changesetId)
A unique identifier of the changeset that is associated with the cluster.
|
void |
setDatabaseName(String databaseName)
The name of the kdb database.
|
void |
setDataviewConfiguration(KxDataviewConfiguration dataviewConfiguration)
The configuration of the dataview to be used with specified cluster.
|
void |
setDataviewName(String dataviewName)
The name of the dataview to be used for caching historical data on disk.
|
String |
toString()
Returns a string representation of this object.
|
KxDatabaseConfiguration |
withCacheConfigurations(Collection<KxDatabaseCacheConfiguration> cacheConfigurations)
Configuration details for the disk cache used to increase performance reading from a kdb database mounted to the
cluster.
|
KxDatabaseConfiguration |
withCacheConfigurations(KxDatabaseCacheConfiguration... cacheConfigurations)
Configuration details for the disk cache used to increase performance reading from a kdb database mounted to the
cluster.
|
KxDatabaseConfiguration |
withChangesetId(String changesetId)
A unique identifier of the changeset that is associated with the cluster.
|
KxDatabaseConfiguration |
withDatabaseName(String databaseName)
The name of the kdb database.
|
KxDatabaseConfiguration |
withDataviewConfiguration(KxDataviewConfiguration dataviewConfiguration)
The configuration of the dataview to be used with specified cluster.
|
KxDatabaseConfiguration |
withDataviewName(String dataviewName)
The name of the dataview to be used for caching historical data on disk.
|
public void setDatabaseName(String databaseName)
The name of the kdb database. When this parameter is specified in the structure, S3 with the whole database is included by default.
databaseName
- The name of the kdb database. When this parameter is specified in the structure, S3 with the whole
database is included by default.public String getDatabaseName()
The name of the kdb database. When this parameter is specified in the structure, S3 with the whole database is included by default.
public KxDatabaseConfiguration withDatabaseName(String databaseName)
The name of the kdb database. When this parameter is specified in the structure, S3 with the whole database is included by default.
databaseName
- The name of the kdb database. When this parameter is specified in the structure, S3 with the whole
database is included by default.public List<KxDatabaseCacheConfiguration> getCacheConfigurations()
Configuration details for the disk cache used to increase performance reading from a kdb database mounted to the cluster.
public void setCacheConfigurations(Collection<KxDatabaseCacheConfiguration> cacheConfigurations)
Configuration details for the disk cache used to increase performance reading from a kdb database mounted to the cluster.
cacheConfigurations
- Configuration details for the disk cache used to increase performance reading from a kdb database mounted
to the cluster.public KxDatabaseConfiguration withCacheConfigurations(KxDatabaseCacheConfiguration... cacheConfigurations)
Configuration details for the disk cache used to increase performance reading from a kdb database mounted to the cluster.
NOTE: This method appends the values to the existing list (if any). Use
setCacheConfigurations(java.util.Collection)
or withCacheConfigurations(java.util.Collection)
if you want to override the existing values.
cacheConfigurations
- Configuration details for the disk cache used to increase performance reading from a kdb database mounted
to the cluster.public KxDatabaseConfiguration withCacheConfigurations(Collection<KxDatabaseCacheConfiguration> cacheConfigurations)
Configuration details for the disk cache used to increase performance reading from a kdb database mounted to the cluster.
cacheConfigurations
- Configuration details for the disk cache used to increase performance reading from a kdb database mounted
to the cluster.public void setChangesetId(String changesetId)
A unique identifier of the changeset that is associated with the cluster.
changesetId
- A unique identifier of the changeset that is associated with the cluster.public String getChangesetId()
A unique identifier of the changeset that is associated with the cluster.
public KxDatabaseConfiguration withChangesetId(String changesetId)
A unique identifier of the changeset that is associated with the cluster.
changesetId
- A unique identifier of the changeset that is associated with the cluster.public void setDataviewName(String dataviewName)
The name of the dataview to be used for caching historical data on disk.
dataviewName
- The name of the dataview to be used for caching historical data on disk.public String getDataviewName()
The name of the dataview to be used for caching historical data on disk.
public KxDatabaseConfiguration withDataviewName(String dataviewName)
The name of the dataview to be used for caching historical data on disk.
dataviewName
- The name of the dataview to be used for caching historical data on disk.public void setDataviewConfiguration(KxDataviewConfiguration dataviewConfiguration)
The configuration of the dataview to be used with specified cluster.
dataviewConfiguration
- The configuration of the dataview to be used with specified cluster.public KxDataviewConfiguration getDataviewConfiguration()
The configuration of the dataview to be used with specified cluster.
public KxDatabaseConfiguration withDataviewConfiguration(KxDataviewConfiguration dataviewConfiguration)
The configuration of the dataview to be used with specified cluster.
dataviewConfiguration
- The configuration of the dataview to be used with specified cluster.public String toString()
toString
in class Object
Object.toString()
public KxDatabaseConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.