@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateRelationalDatabaseRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateRelationalDatabaseRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateRelationalDatabaseRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Boolean |
getApplyImmediately()
When
true , applies changes immediately. |
String |
getCaCertificateIdentifier()
Indicates the certificate that needs to be associated with the database.
|
Boolean |
getDisableBackupRetention()
When
true , disables automated backup retention for your database. |
Boolean |
getEnableBackupRetention()
When
true , enables automated backup retention for your database. |
String |
getMasterUserPassword()
The password for the master user.
|
String |
getPreferredBackupWindow()
The daily time range during which automated backups are created for your database if automated backups are
enabled.
|
String |
getPreferredMaintenanceWindow()
The weekly time range during which system maintenance can occur on your database.
|
Boolean |
getPubliclyAccessible()
Specifies the accessibility options for your database.
|
String |
getRelationalDatabaseName()
The name of your Lightsail database resource to update.
|
Boolean |
getRotateMasterUserPassword()
When
true , the master user password is changed to a new strong password generated by Lightsail. |
int |
hashCode() |
Boolean |
isApplyImmediately()
When
true , applies changes immediately. |
Boolean |
isDisableBackupRetention()
When
true , disables automated backup retention for your database. |
Boolean |
isEnableBackupRetention()
When
true , enables automated backup retention for your database. |
Boolean |
isPubliclyAccessible()
Specifies the accessibility options for your database.
|
Boolean |
isRotateMasterUserPassword()
When
true , the master user password is changed to a new strong password generated by Lightsail. |
void |
setApplyImmediately(Boolean applyImmediately)
When
true , applies changes immediately. |
void |
setCaCertificateIdentifier(String caCertificateIdentifier)
Indicates the certificate that needs to be associated with the database.
|
void |
setDisableBackupRetention(Boolean disableBackupRetention)
When
true , disables automated backup retention for your database. |
void |
setEnableBackupRetention(Boolean enableBackupRetention)
When
true , enables automated backup retention for your database. |
void |
setMasterUserPassword(String masterUserPassword)
The password for the master user.
|
void |
setPreferredBackupWindow(String preferredBackupWindow)
The daily time range during which automated backups are created for your database if automated backups are
enabled.
|
void |
setPreferredMaintenanceWindow(String preferredMaintenanceWindow)
The weekly time range during which system maintenance can occur on your database.
|
void |
setPubliclyAccessible(Boolean publiclyAccessible)
Specifies the accessibility options for your database.
|
void |
setRelationalDatabaseName(String relationalDatabaseName)
The name of your Lightsail database resource to update.
|
void |
setRotateMasterUserPassword(Boolean rotateMasterUserPassword)
When
true , the master user password is changed to a new strong password generated by Lightsail. |
String |
toString()
Returns a string representation of this object.
|
UpdateRelationalDatabaseRequest |
withApplyImmediately(Boolean applyImmediately)
When
true , applies changes immediately. |
UpdateRelationalDatabaseRequest |
withCaCertificateIdentifier(String caCertificateIdentifier)
Indicates the certificate that needs to be associated with the database.
|
UpdateRelationalDatabaseRequest |
withDisableBackupRetention(Boolean disableBackupRetention)
When
true , disables automated backup retention for your database. |
UpdateRelationalDatabaseRequest |
withEnableBackupRetention(Boolean enableBackupRetention)
When
true , enables automated backup retention for your database. |
UpdateRelationalDatabaseRequest |
withMasterUserPassword(String masterUserPassword)
The password for the master user.
|
UpdateRelationalDatabaseRequest |
withPreferredBackupWindow(String preferredBackupWindow)
The daily time range during which automated backups are created for your database if automated backups are
enabled.
|
UpdateRelationalDatabaseRequest |
withPreferredMaintenanceWindow(String preferredMaintenanceWindow)
The weekly time range during which system maintenance can occur on your database.
|
UpdateRelationalDatabaseRequest |
withPubliclyAccessible(Boolean publiclyAccessible)
Specifies the accessibility options for your database.
|
UpdateRelationalDatabaseRequest |
withRelationalDatabaseName(String relationalDatabaseName)
The name of your Lightsail database resource to update.
|
UpdateRelationalDatabaseRequest |
withRotateMasterUserPassword(Boolean rotateMasterUserPassword)
When
true , the master user password is changed to a new strong password generated by Lightsail. |
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setRelationalDatabaseName(String relationalDatabaseName)
The name of your Lightsail database resource to update.
relationalDatabaseName
- The name of your Lightsail database resource to update.public String getRelationalDatabaseName()
The name of your Lightsail database resource to update.
public UpdateRelationalDatabaseRequest withRelationalDatabaseName(String relationalDatabaseName)
The name of your Lightsail database resource to update.
relationalDatabaseName
- The name of your Lightsail database resource to update.public void setMasterUserPassword(String masterUserPassword)
The password for the master user. The password can include any printable ASCII character except "/", """, or "@".
MySQL
Constraints: Must contain from 8 to 41 characters.
PostgreSQL
Constraints: Must contain from 8 to 128 characters.
masterUserPassword
- The password for the master user. The password can include any printable ASCII character except "/",
""", or "@".
MySQL
Constraints: Must contain from 8 to 41 characters.
PostgreSQL
Constraints: Must contain from 8 to 128 characters.
public String getMasterUserPassword()
The password for the master user. The password can include any printable ASCII character except "/", """, or "@".
MySQL
Constraints: Must contain from 8 to 41 characters.
PostgreSQL
Constraints: Must contain from 8 to 128 characters.
MySQL
Constraints: Must contain from 8 to 41 characters.
PostgreSQL
Constraints: Must contain from 8 to 128 characters.
public UpdateRelationalDatabaseRequest withMasterUserPassword(String masterUserPassword)
The password for the master user. The password can include any printable ASCII character except "/", """, or "@".
MySQL
Constraints: Must contain from 8 to 41 characters.
PostgreSQL
Constraints: Must contain from 8 to 128 characters.
masterUserPassword
- The password for the master user. The password can include any printable ASCII character except "/",
""", or "@".
MySQL
Constraints: Must contain from 8 to 41 characters.
PostgreSQL
Constraints: Must contain from 8 to 128 characters.
public void setRotateMasterUserPassword(Boolean rotateMasterUserPassword)
When true
, the master user password is changed to a new strong password generated by Lightsail.
Use the get relational database master user password
operation to get the new password.
rotateMasterUserPassword
- When true
, the master user password is changed to a new strong password generated by
Lightsail.
Use the get relational database master user password
operation to get the new password.
public Boolean getRotateMasterUserPassword()
When true
, the master user password is changed to a new strong password generated by Lightsail.
Use the get relational database master user password
operation to get the new password.
true
, the master user password is changed to a new strong password generated by
Lightsail.
Use the get relational database master user password
operation to get the new password.
public UpdateRelationalDatabaseRequest withRotateMasterUserPassword(Boolean rotateMasterUserPassword)
When true
, the master user password is changed to a new strong password generated by Lightsail.
Use the get relational database master user password
operation to get the new password.
rotateMasterUserPassword
- When true
, the master user password is changed to a new strong password generated by
Lightsail.
Use the get relational database master user password
operation to get the new password.
public Boolean isRotateMasterUserPassword()
When true
, the master user password is changed to a new strong password generated by Lightsail.
Use the get relational database master user password
operation to get the new password.
true
, the master user password is changed to a new strong password generated by
Lightsail.
Use the get relational database master user password
operation to get the new password.
public void setPreferredBackupWindow(String preferredBackupWindow)
The daily time range during which automated backups are created for your database if automated backups are enabled.
Constraints:
Must be in the hh24:mi-hh24:mi
format.
Example: 16:00-16:30
Specified in Coordinated Universal Time (UTC).
Must not conflict with the preferred maintenance window.
Must be at least 30 minutes.
preferredBackupWindow
- The daily time range during which automated backups are created for your database if automated backups are
enabled.
Constraints:
Must be in the hh24:mi-hh24:mi
format.
Example: 16:00-16:30
Specified in Coordinated Universal Time (UTC).
Must not conflict with the preferred maintenance window.
Must be at least 30 minutes.
public String getPreferredBackupWindow()
The daily time range during which automated backups are created for your database if automated backups are enabled.
Constraints:
Must be in the hh24:mi-hh24:mi
format.
Example: 16:00-16:30
Specified in Coordinated Universal Time (UTC).
Must not conflict with the preferred maintenance window.
Must be at least 30 minutes.
Constraints:
Must be in the hh24:mi-hh24:mi
format.
Example: 16:00-16:30
Specified in Coordinated Universal Time (UTC).
Must not conflict with the preferred maintenance window.
Must be at least 30 minutes.
public UpdateRelationalDatabaseRequest withPreferredBackupWindow(String preferredBackupWindow)
The daily time range during which automated backups are created for your database if automated backups are enabled.
Constraints:
Must be in the hh24:mi-hh24:mi
format.
Example: 16:00-16:30
Specified in Coordinated Universal Time (UTC).
Must not conflict with the preferred maintenance window.
Must be at least 30 minutes.
preferredBackupWindow
- The daily time range during which automated backups are created for your database if automated backups are
enabled.
Constraints:
Must be in the hh24:mi-hh24:mi
format.
Example: 16:00-16:30
Specified in Coordinated Universal Time (UTC).
Must not conflict with the preferred maintenance window.
Must be at least 30 minutes.
public void setPreferredMaintenanceWindow(String preferredMaintenanceWindow)
The weekly time range during which system maintenance can occur on your database.
The default is 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.
Constraints:
Must be in the ddd:hh24:mi-ddd:hh24:mi
format.
Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun.
Must be at least 30 minutes.
Specified in Coordinated Universal Time (UTC).
Example: Tue:17:00-Tue:17:30
preferredMaintenanceWindow
- The weekly time range during which system maintenance can occur on your database.
The default is 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.
Constraints:
Must be in the ddd:hh24:mi-ddd:hh24:mi
format.
Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun.
Must be at least 30 minutes.
Specified in Coordinated Universal Time (UTC).
Example: Tue:17:00-Tue:17:30
public String getPreferredMaintenanceWindow()
The weekly time range during which system maintenance can occur on your database.
The default is 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.
Constraints:
Must be in the ddd:hh24:mi-ddd:hh24:mi
format.
Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun.
Must be at least 30 minutes.
Specified in Coordinated Universal Time (UTC).
Example: Tue:17:00-Tue:17:30
The default is 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.
Constraints:
Must be in the ddd:hh24:mi-ddd:hh24:mi
format.
Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun.
Must be at least 30 minutes.
Specified in Coordinated Universal Time (UTC).
Example: Tue:17:00-Tue:17:30
public UpdateRelationalDatabaseRequest withPreferredMaintenanceWindow(String preferredMaintenanceWindow)
The weekly time range during which system maintenance can occur on your database.
The default is 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.
Constraints:
Must be in the ddd:hh24:mi-ddd:hh24:mi
format.
Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun.
Must be at least 30 minutes.
Specified in Coordinated Universal Time (UTC).
Example: Tue:17:00-Tue:17:30
preferredMaintenanceWindow
- The weekly time range during which system maintenance can occur on your database.
The default is 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.
Constraints:
Must be in the ddd:hh24:mi-ddd:hh24:mi
format.
Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun.
Must be at least 30 minutes.
Specified in Coordinated Universal Time (UTC).
Example: Tue:17:00-Tue:17:30
public void setEnableBackupRetention(Boolean enableBackupRetention)
When true
, enables automated backup retention for your database.
Updates are applied during the next maintenance window because this can result in an outage.
enableBackupRetention
- When true
, enables automated backup retention for your database.
Updates are applied during the next maintenance window because this can result in an outage.
public Boolean getEnableBackupRetention()
When true
, enables automated backup retention for your database.
Updates are applied during the next maintenance window because this can result in an outage.
true
, enables automated backup retention for your database.
Updates are applied during the next maintenance window because this can result in an outage.
public UpdateRelationalDatabaseRequest withEnableBackupRetention(Boolean enableBackupRetention)
When true
, enables automated backup retention for your database.
Updates are applied during the next maintenance window because this can result in an outage.
enableBackupRetention
- When true
, enables automated backup retention for your database.
Updates are applied during the next maintenance window because this can result in an outage.
public Boolean isEnableBackupRetention()
When true
, enables automated backup retention for your database.
Updates are applied during the next maintenance window because this can result in an outage.
true
, enables automated backup retention for your database.
Updates are applied during the next maintenance window because this can result in an outage.
public void setDisableBackupRetention(Boolean disableBackupRetention)
When true
, disables automated backup retention for your database.
Disabling backup retention deletes all automated database backups. Before disabling this, you may want to create
a snapshot of your database using the create relational database snapshot
operation.
Updates are applied during the next maintenance window because this can result in an outage.
disableBackupRetention
- When true
, disables automated backup retention for your database.
Disabling backup retention deletes all automated database backups. Before disabling this, you may want to
create a snapshot of your database using the create relational database snapshot
operation.
Updates are applied during the next maintenance window because this can result in an outage.
public Boolean getDisableBackupRetention()
When true
, disables automated backup retention for your database.
Disabling backup retention deletes all automated database backups. Before disabling this, you may want to create
a snapshot of your database using the create relational database snapshot
operation.
Updates are applied during the next maintenance window because this can result in an outage.
true
, disables automated backup retention for your database.
Disabling backup retention deletes all automated database backups. Before disabling this, you may want to
create a snapshot of your database using the create relational database snapshot
operation.
Updates are applied during the next maintenance window because this can result in an outage.
public UpdateRelationalDatabaseRequest withDisableBackupRetention(Boolean disableBackupRetention)
When true
, disables automated backup retention for your database.
Disabling backup retention deletes all automated database backups. Before disabling this, you may want to create
a snapshot of your database using the create relational database snapshot
operation.
Updates are applied during the next maintenance window because this can result in an outage.
disableBackupRetention
- When true
, disables automated backup retention for your database.
Disabling backup retention deletes all automated database backups. Before disabling this, you may want to
create a snapshot of your database using the create relational database snapshot
operation.
Updates are applied during the next maintenance window because this can result in an outage.
public Boolean isDisableBackupRetention()
When true
, disables automated backup retention for your database.
Disabling backup retention deletes all automated database backups. Before disabling this, you may want to create
a snapshot of your database using the create relational database snapshot
operation.
Updates are applied during the next maintenance window because this can result in an outage.
true
, disables automated backup retention for your database.
Disabling backup retention deletes all automated database backups. Before disabling this, you may want to
create a snapshot of your database using the create relational database snapshot
operation.
Updates are applied during the next maintenance window because this can result in an outage.
public void setPubliclyAccessible(Boolean publiclyAccessible)
Specifies the accessibility options for your database. A value of true
specifies a database that is
available to resources outside of your Lightsail account. A value of false
specifies a database that
is available only to your Lightsail resources in the same region as your database.
publiclyAccessible
- Specifies the accessibility options for your database. A value of true
specifies a database
that is available to resources outside of your Lightsail account. A value of false
specifies
a database that is available only to your Lightsail resources in the same region as your database.public Boolean getPubliclyAccessible()
Specifies the accessibility options for your database. A value of true
specifies a database that is
available to resources outside of your Lightsail account. A value of false
specifies a database that
is available only to your Lightsail resources in the same region as your database.
true
specifies a database
that is available to resources outside of your Lightsail account. A value of false
specifies
a database that is available only to your Lightsail resources in the same region as your database.public UpdateRelationalDatabaseRequest withPubliclyAccessible(Boolean publiclyAccessible)
Specifies the accessibility options for your database. A value of true
specifies a database that is
available to resources outside of your Lightsail account. A value of false
specifies a database that
is available only to your Lightsail resources in the same region as your database.
publiclyAccessible
- Specifies the accessibility options for your database. A value of true
specifies a database
that is available to resources outside of your Lightsail account. A value of false
specifies
a database that is available only to your Lightsail resources in the same region as your database.public Boolean isPubliclyAccessible()
Specifies the accessibility options for your database. A value of true
specifies a database that is
available to resources outside of your Lightsail account. A value of false
specifies a database that
is available only to your Lightsail resources in the same region as your database.
true
specifies a database
that is available to resources outside of your Lightsail account. A value of false
specifies
a database that is available only to your Lightsail resources in the same region as your database.public void setApplyImmediately(Boolean applyImmediately)
When true
, applies changes immediately. When false
, applies changes during the
preferred maintenance window. Some changes may cause an outage.
Default: false
applyImmediately
- When true
, applies changes immediately. When false
, applies changes during the
preferred maintenance window. Some changes may cause an outage.
Default: false
public Boolean getApplyImmediately()
When true
, applies changes immediately. When false
, applies changes during the
preferred maintenance window. Some changes may cause an outage.
Default: false
true
, applies changes immediately. When false
, applies changes during the
preferred maintenance window. Some changes may cause an outage.
Default: false
public UpdateRelationalDatabaseRequest withApplyImmediately(Boolean applyImmediately)
When true
, applies changes immediately. When false
, applies changes during the
preferred maintenance window. Some changes may cause an outage.
Default: false
applyImmediately
- When true
, applies changes immediately. When false
, applies changes during the
preferred maintenance window. Some changes may cause an outage.
Default: false
public Boolean isApplyImmediately()
When true
, applies changes immediately. When false
, applies changes during the
preferred maintenance window. Some changes may cause an outage.
Default: false
true
, applies changes immediately. When false
, applies changes during the
preferred maintenance window. Some changes may cause an outage.
Default: false
public void setCaCertificateIdentifier(String caCertificateIdentifier)
Indicates the certificate that needs to be associated with the database.
caCertificateIdentifier
- Indicates the certificate that needs to be associated with the database.public String getCaCertificateIdentifier()
Indicates the certificate that needs to be associated with the database.
public UpdateRelationalDatabaseRequest withCaCertificateIdentifier(String caCertificateIdentifier)
Indicates the certificate that needs to be associated with the database.
caCertificateIdentifier
- Indicates the certificate that needs to be associated with the database.public String toString()
toString
in class Object
Object.toString()
public UpdateRelationalDatabaseRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()