Package com.dtsx.astra.sdk.db.domain
Class DatabaseCreationRequest
java.lang.Object
com.dtsx.astra.sdk.db.domain.DatabaseCreationRequest
Database creation request
- Author:
- Cedrick LUNVEN (@clunven)
-
Field Summary
Modifier and TypeFieldDescriptionstatic final CloudProviderType
Default cloud.static final String
Default region.static final String
Default tier. -
Constructor Summary
ConstructorDescriptiondefault constructor.Constructor with the builder. -
Method Summary
Modifier and TypeMethodDescriptionstatic DatabaseCreationBuilder
builder()
Create a builder.int
Getter accessor for attribute 'capacityUnits'.Getter accessor for attribute 'cloudProvider'.Gets engineTypeGetter accessor for attribute 'keyspace'.getName()
Getter accessor for attribute 'name'.Getter accessor for attribute 'region'.getTier()
Getter accessor for attribute 'tier'.toString()
-
Field Details
-
DEFAULT_REGION
Default region.- See Also:
-
DEFAULT_TIER
Default tier.- See Also:
-
DEFAULT_CLOUD
Default cloud.
-
-
Constructor Details
-
DatabaseCreationRequest
public DatabaseCreationRequest()default constructor. -
DatabaseCreationRequest
Constructor with the builder.- Parameters:
builder
- current builder
-
-
Method Details
-
builder
Create a builder.- Returns:
- get the builder
-
getName
Getter accessor for attribute 'name'.- Returns:
- current value of 'name'
-
getKeyspace
Getter accessor for attribute 'keyspace'.- Returns:
- current value of 'keyspace'
-
getCloudProvider
Getter accessor for attribute 'cloudProvider'.- Returns:
- current value of 'cloudProvider'
-
getTier
Getter accessor for attribute 'tier'.- Returns:
- current value of 'tier'
-
getCapacityUnits
public int getCapacityUnits()Getter accessor for attribute 'capacityUnits'.- Returns:
- current value of 'capacityUnits'
-
getRegion
Getter accessor for attribute 'region'.- Returns:
- current value of 'region'
-
getEngineType
Gets engineType- Returns:
- value of engineType
-
toString
-