Class ModifyDbClusterGroupRequest

All Implemented Interfaces:
SdkPojo, ToCopyableBuilder<ModifyDbClusterGroupRequest.Builder,ModifyDbClusterGroupRequest>

@Generated("software.amazon.awssdk:codegen") public final class ModifyDbClusterGroupRequest extends RdsRequest implements ToCopyableBuilder<ModifyDbClusterGroupRequest.Builder,ModifyDbClusterGroupRequest>
  • Method Details

    • dbClusterGroupIdentifier

      public final String dbClusterGroupIdentifier()

      The identifier of the DB cluster group to modify.

      Returns:
      The identifier of the DB cluster group to modify.
    • preferredMaintenanceWindow

      public final String preferredMaintenanceWindow()

      The weekly time range during which system maintenance can occur for the DB cluster group, in Universal Coordinated Time (UTC).

      Format: ddd:hh24:mi-ddd:hh24:mi

      Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun.

      Constraints: Must be at least 30 minutes. Must not overlap the preferred backup window.

      The maintenance window of the DB cluster group can overlap the maintenance windows of its member DB clusters.

      Returns:
      The weekly time range during which system maintenance can occur for the DB cluster group, in Universal Coordinated Time (UTC).

      Format: ddd:hh24:mi-ddd:hh24:mi

      Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun.

      Constraints: Must be at least 30 minutes. Must not overlap the preferred backup window.

      The maintenance window of the DB cluster group can overlap the maintenance windows of its member DB clusters.

    • preferredBackupWindow

      public final String preferredBackupWindow()

      The daily time range during which automated backups are created for the DB cluster group, in Universal Coordinated Time (UTC).

      Format: hh24:mi-hh24:mi

      Constraints: Must be at least 30 minutes. Must not overlap the preferred maintenance window of the DB cluster group or the preferred maintenance window of any member DB cluster.

      Returns:
      The daily time range during which automated backups are created for the DB cluster group, in Universal Coordinated Time (UTC).

      Format: hh24:mi-hh24:mi

      Constraints: Must be at least 30 minutes. Must not overlap the preferred maintenance window of the DB cluster group or the preferred maintenance window of any member DB cluster.

    • backupRetentionPeriod

      public final Integer backupRetentionPeriod()

      The number of days for which automated backups of the DB cluster group are retained.

      Constraints: Must be a value from 1 to 35. Can't be greater than the backup retention period of any member DB cluster.

      Returns:
      The number of days for which automated backups of the DB cluster group are retained.

      Constraints: Must be a value from 1 to 35. Can't be greater than the backup retention period of any member DB cluster.

    • copyTagsToSnapshot

      public final Boolean copyTagsToSnapshot()

      Specifies whether to copy all tags from the DB cluster group to snapshots of the DB cluster group. The default is not to copy them.

      Returns:
      Specifies whether to copy all tags from the DB cluster group to snapshots of the DB cluster group. The default is not to copy them.
    • deletionProtection

      public final Boolean deletionProtection()

      Specifies whether the DB cluster group has deletion protection enabled. You can't delete the DB cluster group when deletion protection is enabled. By default, deletion protection isn't enabled.

      Returns:
      Specifies whether the DB cluster group has deletion protection enabled. You can't delete the DB cluster group when deletion protection is enabled. By default, deletion protection isn't enabled.
    • enableRouting

      public final Boolean enableRouting()

      Specifies whether to enable or disable routing for the DB cluster group.

      When you enable routing, you must specify VpcSubnetIds in RoutingEndpointConfiguration.

      Returns:
      Specifies whether to enable or disable routing for the DB cluster group.

      When you enable routing, you must specify VpcSubnetIds in RoutingEndpointConfiguration.

    • routingEndpointConfiguration

      public final RoutingEndpointConfiguration routingEndpointConfiguration()

      The settings of the routing endpoint. Specify this parameter with EnableRouting set to true, including VpcSubnetIds, or to change Parameters while routing is enabled.

      Returns:
      The settings of the routing endpoint. Specify this parameter with EnableRouting set to true, including VpcSubnetIds, or to change Parameters while routing is enabled.
    • engineVersion

      public final String engineVersion()

      The engine version to upgrade the member DB clusters of the DB cluster group to. Until the upgrade is applied, the version is shown in the PendingModifiedValues of the DB cluster group.

      Returns:
      The engine version to upgrade the member DB clusters of the DB cluster group to. Until the upgrade is applied, the version is shown in the PendingModifiedValues of the DB cluster group.
    • applyImmediately

      public final Boolean applyImmediately()

      Specifies whether to apply the engine version upgrade as soon as possible, regardless of the PreferredMaintenanceWindow setting for the DB cluster group. If this parameter is disabled, the upgrade is applied during the next maintenance window.

      Default: false

      Returns:
      Specifies whether to apply the engine version upgrade as soon as possible, regardless of the PreferredMaintenanceWindow setting for the DB cluster group. If this parameter is disabled, the upgrade is applied during the next maintenance window.

      Default: false

    • adminUsername

      public final String adminUsername()

      The name of the admin user that the routing endpoint uses to connect to the member DB clusters.

      If you specify AdminUsername, you must also specify AdminUserPassword.

      Default: None. An admin user is required when you enable routing.

      Returns:
      The name of the admin user that the routing endpoint uses to connect to the member DB clusters.

      If you specify AdminUsername, you must also specify AdminUserPassword.

      Default: None. An admin user is required when you enable routing.

    • adminUserPassword

      public final String adminUserPassword()

      The password for the admin user that the routing endpoint uses to connect to the member DB clusters.

      If you specify AdminUserPassword, you must also specify AdminUsername.

      Default: None. An admin user is required when you enable routing.

      Returns:
      The password for the admin user that the routing endpoint uses to connect to the member DB clusters.

      If you specify AdminUserPassword, you must also specify AdminUsername.

      Default: None. An admin user is required when you enable routing.

    • toBuilder

      Description copied from interface: ToCopyableBuilder
      Take this object and create a builder that contains all of the current property values of this object.
      Specified by:
      toBuilder in interface ToCopyableBuilder<ModifyDbClusterGroupRequest.Builder,ModifyDbClusterGroupRequest>
      Specified by:
      toBuilder in class RdsRequest
      Returns:
      a builder for type T
    • builder

      public static ModifyDbClusterGroupRequest.Builder builder()
    • serializableBuilderClass

      public static Class<? extends ModifyDbClusterGroupRequest.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class AwsRequest
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class AwsRequest
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Description copied from interface: SdkPojo
      Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in an SdkPojo class, and is generated based on a service model.

      If an SdkPojo class does not have any inherited fields, equalsBySdkFields and equals are essentially the same.

      Specified by:
      equalsBySdkFields in interface SdkPojo
      Parameters:
      obj - the object to be compared with
      Returns:
      true if the other object equals to this object by sdk fields, false otherwise.
    • toString

      public final String toString()
      Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
      Description copied from class: SdkRequest
      Used to retrieve the value of a field from any class that extends SdkRequest. The field name specified should match the member name from the corresponding service-2.json model specified in the codegen-resources folder for a given service. The class specifies what class to cast the returned value to. If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class) method will again be available.
      Overrides:
      getValueForField in class SdkRequest
      Parameters:
      fieldName - The name of the member to be retrieved.
      clazz - The class to cast the returned object to.
      Returns:
      Optional containing the casted return value
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
      Returns:
      List of SdkField in this POJO. May be empty list but should never be null.
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo
      Returns:
      The mapping between the field name and its corresponding field.