Class ModifyDbClusterGroupRequest
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ModifyDbClusterGroupRequest.Builder,ModifyDbClusterGroupRequest>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal StringThe name of the admin user that the routing endpoint uses to connect to the member DB clusters.final StringThe password for the admin user that the routing endpoint uses to connect to the member DB clusters.final BooleanSpecifies whether to apply the engine version upgrade as soon as possible, regardless of thePreferredMaintenanceWindowsetting for the DB cluster group.final IntegerThe number of days for which automated backups of the DB cluster group are retained.builder()final BooleanSpecifies whether to copy all tags from the DB cluster group to snapshots of the DB cluster group.final StringThe identifier of the DB cluster group to modify.final BooleanSpecifies whether the DB cluster group has deletion protection enabled.final BooleanSpecifies whether to enable or disable routing for the DB cluster group.final StringThe engine version to upgrade the member DB clusters of the DB cluster group to.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) Used to retrieve the value of a field from any class that extendsSdkRequest.final inthashCode()final StringThe daily time range during which automated backups are created for the DB cluster group, in Universal Coordinated Time (UTC).final StringThe weekly time range during which system maintenance can occur for the DB cluster group, in Universal Coordinated Time (UTC).The settings of the routing endpoint.static Class<? extends ModifyDbClusterGroupRequest.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
dbClusterGroupIdentifier
The identifier of the DB cluster group to modify.
- Returns:
- The identifier of the DB cluster group to modify.
-
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:miValid 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:miValid 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
The daily time range during which automated backups are created for the DB cluster group, in Universal Coordinated Time (UTC).
Format:
hh24:mi-hh24:miConstraints: 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:miConstraints: 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
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
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
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
Specifies whether to enable or disable routing for the DB cluster group.
When you enable routing, you must specify
VpcSubnetIdsinRoutingEndpointConfiguration.- Returns:
- Specifies whether to enable or disable routing for the DB cluster group.
When you enable routing, you must specify
VpcSubnetIdsinRoutingEndpointConfiguration.
-
routingEndpointConfiguration
The settings of the routing endpoint. Specify this parameter with
EnableRoutingset totrue, includingVpcSubnetIds, or to changeParameterswhile routing is enabled.- Returns:
- The settings of the routing endpoint. Specify this parameter with
EnableRoutingset totrue, includingVpcSubnetIds, or to changeParameterswhile routing is enabled.
-
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
PendingModifiedValuesof 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
PendingModifiedValuesof the DB cluster group.
-
applyImmediately
Specifies whether to apply the engine version upgrade as soon as possible, regardless of the
PreferredMaintenanceWindowsetting 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
PreferredMaintenanceWindowsetting for the DB cluster group. If this parameter is disabled, the upgrade is applied during the next maintenance window.Default:
false
-
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 specifyAdminUserPassword.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 specifyAdminUserPassword.Default: None. An admin user is required when you enable routing.
-
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 specifyAdminUsername.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 specifyAdminUsername.Default: None. An admin user is required when you enable routing.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<ModifyDbClusterGroupRequest.Builder,ModifyDbClusterGroupRequest> - Specified by:
toBuilderin classRdsRequest- Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsRequest
-
equals
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
Description copied from class:SdkRequestUsed to retrieve the value of a field from any class that extendsSdkRequest. 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, theSdkRequest.getValueForField(String, Class)method will again be available.- Overrides:
getValueForFieldin classSdkRequest- 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
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-