public static interface UpdateServerRequest.Builder extends OpsWorksCmRequest.Builder, CopyableBuilder<UpdateServerRequest.Builder,UpdateServerRequest>
| Modifier and Type | Method and Description |
|---|---|
UpdateServerRequest.Builder |
backupRetentionCount(Integer backupRetentionCount)
Sets the number of automated backups that you want to keep.
|
UpdateServerRequest.Builder |
disableAutomatedBackup(Boolean disableAutomatedBackup)
Setting DisableAutomatedBackup to
true disables automated or scheduled backups. |
UpdateServerRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
UpdateServerRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
UpdateServerRequest.Builder |
preferredBackupWindow(String preferredBackupWindow)
Sets the value of the PreferredBackupWindow property for this object.
|
UpdateServerRequest.Builder |
preferredMaintenanceWindow(String preferredMaintenanceWindow)
Sets the value of the PreferredMaintenanceWindow property for this object.
|
UpdateServerRequest.Builder |
serverName(String serverName)
The name of the server to update.
|
buildoverrideConfigurationcopyapplyMutation, buildUpdateServerRequest.Builder disableAutomatedBackup(Boolean disableAutomatedBackup)
Setting DisableAutomatedBackup to true disables automated or scheduled backups. Automated
backups are enabled by default.
disableAutomatedBackup - Setting DisableAutomatedBackup to true disables automated or scheduled backups. Automated
backups are enabled by default.UpdateServerRequest.Builder backupRetentionCount(Integer backupRetentionCount)
Sets the number of automated backups that you want to keep.
backupRetentionCount - Sets the number of automated backups that you want to keep.UpdateServerRequest.Builder serverName(String serverName)
The name of the server to update.
serverName - The name of the server to update.UpdateServerRequest.Builder preferredMaintenanceWindow(String preferredMaintenanceWindow)
preferredMaintenanceWindow - The new value for the PreferredMaintenanceWindow property for this object.UpdateServerRequest.Builder preferredBackupWindow(String preferredBackupWindow)
preferredBackupWindow - The new value for the PreferredBackupWindow property for this object.UpdateServerRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderoverrideConfiguration - The override configuration.UpdateServerRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.