Class DatabaseInstanceProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.docdb.DatabaseInstanceProps.Jsii$Proxy
All Implemented Interfaces:
DatabaseInstanceProps, software.amazon.jsii.JsiiSerializable
Enclosing interface:
DatabaseInstanceProps

@Stability(Stable) @Internal public static final class DatabaseInstanceProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements DatabaseInstanceProps
An implementation for DatabaseInstanceProps
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(DatabaseInstanceProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the DatabaseInstanceProps.Builder.
  • Method Details

    • getCluster

      public final IDatabaseCluster getCluster()
      Description copied from interface: DatabaseInstanceProps
      The DocumentDB database cluster the instance should launch into.
      Specified by:
      getCluster in interface DatabaseInstanceProps
    • getInstanceType

      public final InstanceType getInstanceType()
      Description copied from interface: DatabaseInstanceProps
      The name of the compute and memory capacity classes.
      Specified by:
      getInstanceType in interface DatabaseInstanceProps
    • getAutoMinorVersionUpgrade

      public final Boolean getAutoMinorVersionUpgrade()
      Description copied from interface: DatabaseInstanceProps
      Indicates that minor engine upgrades are applied automatically to the DB instance during the maintenance window.

      Default: true

      Specified by:
      getAutoMinorVersionUpgrade in interface DatabaseInstanceProps
    • getAvailabilityZone

      public final String getAvailabilityZone()
      Description copied from interface: DatabaseInstanceProps
      The name of the Availability Zone where the DB instance will be located.

      Default: - no preference

      Specified by:
      getAvailabilityZone in interface DatabaseInstanceProps
    • getDbInstanceName

      public final String getDbInstanceName()
      Description copied from interface: DatabaseInstanceProps
      A name for the DB instance.

      If you specify a name, AWS CloudFormation converts it to lowercase.

      Default: - a CloudFormation generated name

      Specified by:
      getDbInstanceName in interface DatabaseInstanceProps
    • getPreferredMaintenanceWindow

      public final String getPreferredMaintenanceWindow()
      Description copied from interface: DatabaseInstanceProps
      The weekly time range (in UTC) during which system maintenance can occur.

      Format: ddd:hh24:mi-ddd:hh24:mi Constraint: Minimum 30-minute window

      Default: - a 30-minute window selected at random from an 8-hour block of time for each AWS Region, occurring on a random day of the week. To see the time blocks available, see https://docs.aws.amazon.com/documentdb/latest/developerguide/db-instance-maintain.html#maintenance-window

      Specified by:
      getPreferredMaintenanceWindow in interface DatabaseInstanceProps
    • getRemovalPolicy

      public final RemovalPolicy getRemovalPolicy()
      Description copied from interface: DatabaseInstanceProps
      The CloudFormation policy to apply when the instance is removed from the stack or replaced during an update.

      Default: RemovalPolicy.Retain

      Specified by:
      getRemovalPolicy in interface DatabaseInstanceProps
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object