Class DatabaseCreationRequest

java.lang.Object
com.dtsx.astra.sdk.db.domain.DatabaseCreationRequest

public class DatabaseCreationRequest extends Object
Database creation request
Author:
Cedrick LUNVEN (@clunven)
  • Field Details

  • Constructor Details

    • DatabaseCreationRequest

      public DatabaseCreationRequest()
      default constructor.
    • DatabaseCreationRequest

      public DatabaseCreationRequest(DatabaseCreationBuilder builder)
      Constructor with the builder.
      Parameters:
      builder - current builder
  • Method Details

    • builder

      public static DatabaseCreationBuilder builder()
      Create a builder.
      Returns:
      get the builder
    • getName

      public String getName()
      Getter accessor for attribute 'name'.
      Returns:
      current value of 'name'
    • getKeyspace

      public String getKeyspace()
      Getter accessor for attribute 'keyspace'.
      Returns:
      current value of 'keyspace'
    • getCloudProvider

      public CloudProviderType getCloudProvider()
      Getter accessor for attribute 'cloudProvider'.
      Returns:
      current value of 'cloudProvider'
    • getTier

      public String 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

      public String getRegion()
      Getter accessor for attribute 'region'.
      Returns:
      current value of 'region'
    • getEngineType

      public String getEngineType()
      Gets engineType
      Returns:
      value of engineType
    • toString

      public String toString()
      Overrides:
      toString in class Object