Class AbstractDynamoDbProperties

java.lang.Object
org.apereo.cas.configuration.model.support.aws.BaseAmazonWebServicesProperties
org.apereo.cas.configuration.model.support.dynamodb.AbstractDynamoDbProperties
All Implemented Interfaces:
Serializable, CasFeatureModule
Direct Known Subclasses:
AuditDynamoDbProperties, DynamoDbConsentProperties, DynamoDbEventsProperties, DynamoDbGoogleAuthenticatorMultifactorProperties, DynamoDbServiceRegistryProperties, DynamoDbTicketRegistryProperties, DynamoDbTrustedDevicesMultifactorProperties, SpringCloudConfigurationProperties.AmazonDynamoDb, WebAuthnDynamoDbMultifactorProperties, YubiKeyDynamoDbMultifactorProperties

@RequiresModule(name="cas-server-support-dynamodb-core") public abstract class AbstractDynamoDbProperties extends BaseAmazonWebServicesProperties
Since:
5.1.0
See Also:
  • Constructor Details

    • AbstractDynamoDbProperties

      public AbstractDynamoDbProperties()
  • Method Details

    • isDropTablesOnStartup

      public boolean isDropTablesOnStartup()
      Flag that indicates whether to drop tables on start up.
    • isPreventTableCreationOnStartup

      public boolean isPreventTableCreationOnStartup()
      Flag that indicates whether to prevent CAS from creating tables.
    • getTimeOffset

      public int getTimeOffset()
      Time offset.
    • getReadCapacity

      public long getReadCapacity()
      Read capacity.
    • getWriteCapacity

      public long getWriteCapacity()
      Write capacity.
    • getBillingMode

      public AbstractDynamoDbProperties.BillingMode getBillingMode()
      Billing mode specifies how you are charged for read and write throughput and how you manage capacity.
    • isLocalInstance

      public boolean isLocalInstance()
      Indicates that the database instance is local to the deployment that does not require or use any credentials or other configuration other than host and region. This is mostly used during development and testing.
    • getDax

      public DynamoDbDaxProperties getDax()
      Amazon DynamoDB Accelerator (DAX) is a managed, highly available, in-memory cache for Amazon DynamoDB.
    • setDropTablesOnStartup

      public AbstractDynamoDbProperties setDropTablesOnStartup(boolean dropTablesOnStartup)
      Flag that indicates whether to drop tables on start up.
      Returns:
      this.
    • setPreventTableCreationOnStartup

      public AbstractDynamoDbProperties setPreventTableCreationOnStartup(boolean preventTableCreationOnStartup)
      Flag that indicates whether to prevent CAS from creating tables.
      Returns:
      this.
    • setTimeOffset

      public AbstractDynamoDbProperties setTimeOffset(int timeOffset)
      Time offset.
      Returns:
      this.
    • setReadCapacity

      public AbstractDynamoDbProperties setReadCapacity(long readCapacity)
      Read capacity.
      Returns:
      this.
    • setWriteCapacity

      public AbstractDynamoDbProperties setWriteCapacity(long writeCapacity)
      Write capacity.
      Returns:
      this.
    • setBillingMode

      Billing mode specifies how you are charged for read and write throughput and how you manage capacity.
      Returns:
      this.
    • setLocalInstance

      public AbstractDynamoDbProperties setLocalInstance(boolean localInstance)
      Indicates that the database instance is local to the deployment that does not require or use any credentials or other configuration other than host and region. This is mostly used during development and testing.
      Returns:
      this.
    • setDax

      Amazon DynamoDB Accelerator (DAX) is a managed, highly available, in-memory cache for Amazon DynamoDB.
      Returns:
      this.