@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifyBackupAttributesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description | 
|---|
ModifyBackupAttributesRequest()  | 
| Modifier and Type | Method and Description | 
|---|---|
ModifyBackupAttributesRequest | 
clone()
Creates a shallow clone of this object for all fields except the handler context. 
 | 
boolean | 
equals(Object obj)  | 
String | 
getBackupId()
 The identifier (ID) of the backup to modify. 
 | 
Boolean | 
getNeverExpires()
 Specifies whether the service should exempt a backup from the retention policy for the cluster. 
 | 
int | 
hashCode()  | 
Boolean | 
isNeverExpires()
 Specifies whether the service should exempt a backup from the retention policy for the cluster. 
 | 
void | 
setBackupId(String backupId)
 The identifier (ID) of the backup to modify. 
 | 
void | 
setNeverExpires(Boolean neverExpires)
 Specifies whether the service should exempt a backup from the retention policy for the cluster. 
 | 
String | 
toString()
Returns a string representation of this object. 
 | 
ModifyBackupAttributesRequest | 
withBackupId(String backupId)
 The identifier (ID) of the backup to modify. 
 | 
ModifyBackupAttributesRequest | 
withNeverExpires(Boolean neverExpires)
 Specifies whether the service should exempt a backup from the retention policy for the cluster. 
 | 
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, withSdkRequestTimeoutpublic void setBackupId(String backupId)
The identifier (ID) of the backup to modify. To find the ID of a backup, use the DescribeBackups operation.
backupId - The identifier (ID) of the backup to modify. To find the ID of a backup, use the DescribeBackups
        operation.public String getBackupId()
The identifier (ID) of the backup to modify. To find the ID of a backup, use the DescribeBackups operation.
public ModifyBackupAttributesRequest withBackupId(String backupId)
The identifier (ID) of the backup to modify. To find the ID of a backup, use the DescribeBackups operation.
backupId - The identifier (ID) of the backup to modify. To find the ID of a backup, use the DescribeBackups
        operation.public void setNeverExpires(Boolean neverExpires)
 Specifies whether the service should exempt a backup from the retention policy for the cluster. True
 exempts a backup from the retention policy. False means the service applies the backup retention
 policy defined at the cluster.
 
neverExpires - Specifies whether the service should exempt a backup from the retention policy for the cluster.
        True exempts a backup from the retention policy. False means the service applies
        the backup retention policy defined at the cluster.public Boolean getNeverExpires()
 Specifies whether the service should exempt a backup from the retention policy for the cluster. True
 exempts a backup from the retention policy. False means the service applies the backup retention
 policy defined at the cluster.
 
True exempts a backup from the retention policy. False means the service
         applies the backup retention policy defined at the cluster.public ModifyBackupAttributesRequest withNeverExpires(Boolean neverExpires)
 Specifies whether the service should exempt a backup from the retention policy for the cluster. True
 exempts a backup from the retention policy. False means the service applies the backup retention
 policy defined at the cluster.
 
neverExpires - Specifies whether the service should exempt a backup from the retention policy for the cluster.
        True exempts a backup from the retention policy. False means the service applies
        the backup retention policy defined at the cluster.public Boolean isNeverExpires()
 Specifies whether the service should exempt a backup from the retention policy for the cluster. True
 exempts a backup from the retention policy. False means the service applies the backup retention
 policy defined at the cluster.
 
True exempts a backup from the retention policy. False means the service
         applies the backup retention policy defined at the cluster.public String toString()
toString in class ObjectObject.toString()public ModifyBackupAttributesRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()