Class AstraClientProperties.Api

java.lang.Object
com.datastax.astra.boot.AstraClientProperties.Api
Enclosing class:
AstraClientProperties

public static class AstraClientProperties.Api extends Object
Specialization for the APIS.
Author:
Cedrick LUNVEN (@clunven)
  • Constructor Details

    • Api

      public Api()
  • Method Details

    • getDatabaseId

      public String getDatabaseId()
      Getter accessor for attribute 'databaseId'.
      Returns:
      current value of 'databaseId'
    • setDatabaseId

      public void setDatabaseId(String databaseId)
      Setter accessor for attribute 'databaseId'.
      Parameters:
      databaseId - new value for 'databaseId '
    • getApplicationToken

      public String getApplicationToken()
      Getter accessor for attribute 'applicationToken'.
      Returns:
      current value of 'applicationToken'
    • setApplicationToken

      public void setApplicationToken(String applicationToken)
      Setter accessor for attribute 'applicationToken'.
      Parameters:
      applicationToken - new value for 'applicationToken '
    • getDatabaseRegion

      public String getDatabaseRegion()
      Getter accessor for attribute 'databaseRegion'.
      Returns:
      current value of 'databaseRegion'
    • setDatabaseRegion

      public void setDatabaseRegion(String databaseRegion)
      Setter accessor for attribute 'databaseRegion'.
      Parameters:
      databaseRegion - new value for 'databaseRegion '
    • getGrpc

      public AstraClientProperties.Grpc getGrpc()
      Getter accessor for attribute 'grpc'.
      Returns:
      current value of 'grpc'
    • setGrpc

      public void setGrpc(AstraClientProperties.Grpc grpc)
      Setter accessor for attribute 'grpc'.
      Parameters:
      grpc - new value for 'grpc '
    • getCrossRegionFailback

      public Boolean getCrossRegionFailback()
      Getter accessor for attribute 'crossRegionFailback'.
      Returns:
      current value of 'crossRegionFailback'
    • setCrossRegionFailback

      public void setCrossRegionFailback(Boolean crossRegionFailback)
      Setter accessor for attribute 'crossRegionFailback'.
      Parameters:
      crossRegionFailback - new value for 'crossRegionFailback '