Package com.dtsx.astra.sdk.db.domain
Class DatabaseInfo
java.lang.Object
com.dtsx.astra.sdk.db.domain.DatabaseInfo
Wrapper for DatabaseInfo attribut in findDatabase.
- Author:
- Cedrick LUNVEN (@clunven)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGetter accessor for attribute 'additionalKeyspaces'.int
Getter accessor for attribute 'capacityUnits'.Getter accessor for attribute 'cloudProvider'.Getter accessor for attribute 'datacenters'.Gets engineTypeGetter accessor for attribute 'keyspace'.Getter accessor for attribute 'keyspaces'.getName()
Getter accessor for attribute 'name'.Getter accessor for attribute 'region'.getTier()
Getter accessor for attribute 'tier'.void
setAdditionalKeyspaces
(Set<String> additionalKeyspaces) Setter accessor for attribute 'additionalKeyspaces'.void
setCapacityUnits
(int capacityUnits) Setter accessor for attribute 'capacityUnits'.void
setCloudProvider
(CloudProviderType cloudProvider) Setter accessor for attribute 'cloudProvider'.void
setDatacenters
(Set<Datacenter> datacenters) Setter accessor for attribute 'datacenters'.void
setEngineType
(String engineType) Set value for engineTypevoid
setKeyspace
(String keyspace) Setter accessor for attribute 'keyspace'.void
setKeyspaces
(Set<String> keyspaces) Setter accessor for attribute 'keyspaces'.void
Setter accessor for attribute 'name'.void
Setter accessor for attribute 'region'.void
Setter accessor for attribute 'tier'.
-
Constructor Details
-
DatabaseInfo
public DatabaseInfo()
-
-
Method Details
-
getName
Getter accessor for attribute 'name'.- Returns:
- current value of 'name'
-
setName
Setter accessor for attribute 'name'.- Parameters:
name
- new value for 'name '
-
getKeyspaces
Getter accessor for attribute 'keyspaces'.- Returns:
- current value of 'keyspaces'
-
setKeyspaces
Setter accessor for attribute 'keyspaces'.- Parameters:
keyspaces
- new value for 'keyspaces '
-
getDatacenters
Getter accessor for attribute 'datacenters'.- Returns:
- current value of 'datacenters'
-
setDatacenters
Setter accessor for attribute 'datacenters'.- Parameters:
datacenters
- new value for 'datacenters '
-
getKeyspace
Getter accessor for attribute 'keyspace'.- Returns:
- current value of 'keyspace'
-
setKeyspace
Setter accessor for attribute 'keyspace'.- Parameters:
keyspace
- new value for 'keyspace '
-
getCloudProvider
Getter accessor for attribute 'cloudProvider'.- Returns:
- current value of 'cloudProvider'
-
setCloudProvider
Setter accessor for attribute 'cloudProvider'.- Parameters:
cloudProvider
- new value for 'cloudProvider '
-
getCapacityUnits
public int getCapacityUnits()Getter accessor for attribute 'capacityUnits'.- Returns:
- current value of 'capacityUnits'
-
setCapacityUnits
public void setCapacityUnits(int capacityUnits) Setter accessor for attribute 'capacityUnits'.- Parameters:
capacityUnits
- new value for 'capacityUnits '
-
getRegion
Getter accessor for attribute 'region'.- Returns:
- current value of 'region'
-
setRegion
Setter accessor for attribute 'region'.- Parameters:
region
- new value for 'region '
-
getAdditionalKeyspaces
Getter accessor for attribute 'additionalKeyspaces'.- Returns:
- current value of 'additionalKeyspaces'
-
setAdditionalKeyspaces
Setter accessor for attribute 'additionalKeyspaces'.- Parameters:
additionalKeyspaces
- new value for 'additionalKeyspaces '
-
getTier
Getter accessor for attribute 'tier'.- Returns:
- current value of 'tier'
-
setTier
Setter accessor for attribute 'tier'.- Parameters:
tier
- new value for 'tier '
-
getEngineType
Gets engineType- Returns:
- value of engineType
-
setEngineType
Set value for engineType- Parameters:
engineType
- new value for engineType
-