@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateServerRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateServerRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateServerRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getBackupRetentionCount()
Sets the number of automated backups that you want to keep.
|
Boolean |
getDisableAutomatedBackup()
Setting DisableAutomatedBackup to
true disables automated or scheduled backups. |
String |
getPreferredBackupWindow() |
String |
getPreferredMaintenanceWindow() |
String |
getServerName()
The name of the server to update.
|
int |
hashCode() |
Boolean |
isDisableAutomatedBackup()
Setting DisableAutomatedBackup to
true disables automated or scheduled backups. |
void |
setBackupRetentionCount(Integer backupRetentionCount)
Sets the number of automated backups that you want to keep.
|
void |
setDisableAutomatedBackup(Boolean disableAutomatedBackup)
Setting DisableAutomatedBackup to
true disables automated or scheduled backups. |
void |
setPreferredBackupWindow(String preferredBackupWindow) |
void |
setPreferredMaintenanceWindow(String preferredMaintenanceWindow) |
void |
setServerName(String serverName)
The name of the server to update.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
UpdateServerRequest |
withBackupRetentionCount(Integer backupRetentionCount)
Sets the number of automated backups that you want to keep.
|
UpdateServerRequest |
withDisableAutomatedBackup(Boolean disableAutomatedBackup)
Setting DisableAutomatedBackup to
true disables automated or scheduled backups. |
UpdateServerRequest |
withPreferredBackupWindow(String preferredBackupWindow) |
UpdateServerRequest |
withPreferredMaintenanceWindow(String preferredMaintenanceWindow) |
UpdateServerRequest |
withServerName(String serverName)
The name of the server to update.
|
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 setDisableAutomatedBackup(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.public Boolean getDisableAutomatedBackup()
Setting DisableAutomatedBackup to true
disables automated or scheduled backups. Automated backups
are enabled by default.
true
disables automated or scheduled backups. Automated
backups are enabled by default.public UpdateServerRequest withDisableAutomatedBackup(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.public Boolean isDisableAutomatedBackup()
Setting DisableAutomatedBackup to true
disables automated or scheduled backups. Automated backups
are enabled by default.
true
disables automated or scheduled backups. Automated
backups are enabled by default.public void setBackupRetentionCount(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.public Integer getBackupRetentionCount()
Sets the number of automated backups that you want to keep.
public UpdateServerRequest withBackupRetentionCount(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.public void setServerName(String serverName)
The name of the server to update.
serverName
- The name of the server to update.public String getServerName()
The name of the server to update.
public UpdateServerRequest withServerName(String serverName)
The name of the server to update.
serverName
- The name of the server to update.public void setPreferredMaintenanceWindow(String preferredMaintenanceWindow)
preferredMaintenanceWindow
- public String getPreferredMaintenanceWindow()
public UpdateServerRequest withPreferredMaintenanceWindow(String preferredMaintenanceWindow)
preferredMaintenanceWindow
- public void setPreferredBackupWindow(String preferredBackupWindow)
preferredBackupWindow
- public String getPreferredBackupWindow()
public UpdateServerRequest withPreferredBackupWindow(String preferredBackupWindow)
preferredBackupWindow
- public String toString()
toString
in class Object
Object.toString()
public UpdateServerRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.