@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CopySnapshotRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description | 
|---|
| CopySnapshotRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| CopySnapshotRequest | clone()Creates a shallow clone of this object for all fields except the handler context. | 
| boolean | equals(Object obj) | 
| String | getRestoreDate()
 The date of the source automatic snapshot to copy. | 
| String | getSourceRegion()
 The Amazon Web Services Region where the source manual or automatic snapshot is located. | 
| String | getSourceResourceName()
 The name of the source instance or disk from which the source automatic snapshot was created. | 
| String | getSourceSnapshotName()
 The name of the source manual snapshot to copy. | 
| String | getTargetSnapshotName()
 The name of the new manual snapshot to be created as a copy. | 
| Boolean | getUseLatestRestorableAutoSnapshot()
 A Boolean value to indicate whether to use the latest available automatic snapshot of the specified source
 instance or disk. | 
| int | hashCode() | 
| Boolean | isUseLatestRestorableAutoSnapshot()
 A Boolean value to indicate whether to use the latest available automatic snapshot of the specified source
 instance or disk. | 
| void | setRestoreDate(String restoreDate)
 The date of the source automatic snapshot to copy. | 
| void | setSourceRegion(String sourceRegion)
 The Amazon Web Services Region where the source manual or automatic snapshot is located. | 
| void | setSourceResourceName(String sourceResourceName)
 The name of the source instance or disk from which the source automatic snapshot was created. | 
| void | setSourceSnapshotName(String sourceSnapshotName)
 The name of the source manual snapshot to copy. | 
| void | setTargetSnapshotName(String targetSnapshotName)
 The name of the new manual snapshot to be created as a copy. | 
| void | setUseLatestRestorableAutoSnapshot(Boolean useLatestRestorableAutoSnapshot)
 A Boolean value to indicate whether to use the latest available automatic snapshot of the specified source
 instance or disk. | 
| String | toString()Returns a string representation of this object. | 
| CopySnapshotRequest | withRestoreDate(String restoreDate)
 The date of the source automatic snapshot to copy. | 
| CopySnapshotRequest | withSourceRegion(RegionName sourceRegion)
 The Amazon Web Services Region where the source manual or automatic snapshot is located. | 
| CopySnapshotRequest | withSourceRegion(String sourceRegion)
 The Amazon Web Services Region where the source manual or automatic snapshot is located. | 
| CopySnapshotRequest | withSourceResourceName(String sourceResourceName)
 The name of the source instance or disk from which the source automatic snapshot was created. | 
| CopySnapshotRequest | withSourceSnapshotName(String sourceSnapshotName)
 The name of the source manual snapshot to copy. | 
| CopySnapshotRequest | withTargetSnapshotName(String targetSnapshotName)
 The name of the new manual snapshot to be created as a copy. | 
| CopySnapshotRequest | withUseLatestRestorableAutoSnapshot(Boolean useLatestRestorableAutoSnapshot)
 A Boolean value to indicate whether to use the latest available automatic snapshot of the specified source
 instance or disk. | 
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 setSourceSnapshotName(String sourceSnapshotName)
The name of the source manual snapshot to copy.
Constraint:
Define this parameter only when copying a manual snapshot as another manual snapshot.
sourceSnapshotName - The name of the source manual snapshot to copy.
        Constraint:
Define this parameter only when copying a manual snapshot as another manual snapshot.
public String getSourceSnapshotName()
The name of the source manual snapshot to copy.
Constraint:
Define this parameter only when copying a manual snapshot as another manual snapshot.
Constraint:
Define this parameter only when copying a manual snapshot as another manual snapshot.
public CopySnapshotRequest withSourceSnapshotName(String sourceSnapshotName)
The name of the source manual snapshot to copy.
Constraint:
Define this parameter only when copying a manual snapshot as another manual snapshot.
sourceSnapshotName - The name of the source manual snapshot to copy.
        Constraint:
Define this parameter only when copying a manual snapshot as another manual snapshot.
public void setSourceResourceName(String sourceResourceName)
The name of the source instance or disk from which the source automatic snapshot was created.
Constraint:
Define this parameter only when copying an automatic snapshot as a manual snapshot. For more information, see the Amazon Lightsail Developer Guide.
sourceResourceName - The name of the source instance or disk from which the source automatic snapshot was created.
        Constraint:
Define this parameter only when copying an automatic snapshot as a manual snapshot. For more information, see the Amazon Lightsail Developer Guide.
public String getSourceResourceName()
The name of the source instance or disk from which the source automatic snapshot was created.
Constraint:
Define this parameter only when copying an automatic snapshot as a manual snapshot. For more information, see the Amazon Lightsail Developer Guide.
Constraint:
Define this parameter only when copying an automatic snapshot as a manual snapshot. For more information, see the Amazon Lightsail Developer Guide.
public CopySnapshotRequest withSourceResourceName(String sourceResourceName)
The name of the source instance or disk from which the source automatic snapshot was created.
Constraint:
Define this parameter only when copying an automatic snapshot as a manual snapshot. For more information, see the Amazon Lightsail Developer Guide.
sourceResourceName - The name of the source instance or disk from which the source automatic snapshot was created.
        Constraint:
Define this parameter only when copying an automatic snapshot as a manual snapshot. For more information, see the Amazon Lightsail Developer Guide.
public void setRestoreDate(String restoreDate)
 The date of the source automatic snapshot to copy. Use the get auto snapshots operation to identify
 the dates of the available automatic snapshots.
 
Constraints:
 Must be specified in YYYY-MM-DD format.
 
 This parameter cannot be defined together with the use latest restorable auto snapshot parameter.
 The restore date and use latest restorable auto snapshot parameters are mutually
 exclusive.
 
Define this parameter only when copying an automatic snapshot as a manual snapshot. For more information, see the Amazon Lightsail Developer Guide.
restoreDate - The date of the source automatic snapshot to copy. Use the get auto snapshots operation to
        identify the dates of the available automatic snapshots.
        Constraints:
        Must be specified in YYYY-MM-DD format.
        
        This parameter cannot be defined together with the use latest restorable auto snapshot
        parameter. The restore date and use latest restorable auto snapshot parameters
        are mutually exclusive.
        
Define this parameter only when copying an automatic snapshot as a manual snapshot. For more information, see the Amazon Lightsail Developer Guide.
public String getRestoreDate()
 The date of the source automatic snapshot to copy. Use the get auto snapshots operation to identify
 the dates of the available automatic snapshots.
 
Constraints:
 Must be specified in YYYY-MM-DD format.
 
 This parameter cannot be defined together with the use latest restorable auto snapshot parameter.
 The restore date and use latest restorable auto snapshot parameters are mutually
 exclusive.
 
Define this parameter only when copying an automatic snapshot as a manual snapshot. For more information, see the Amazon Lightsail Developer Guide.
get auto snapshots operation to
         identify the dates of the available automatic snapshots.
         Constraints:
         Must be specified in YYYY-MM-DD format.
         
         This parameter cannot be defined together with the use latest restorable auto snapshot
         parameter. The restore date and use latest restorable auto snapshot parameters
         are mutually exclusive.
         
Define this parameter only when copying an automatic snapshot as a manual snapshot. For more information, see the Amazon Lightsail Developer Guide.
public CopySnapshotRequest withRestoreDate(String restoreDate)
 The date of the source automatic snapshot to copy. Use the get auto snapshots operation to identify
 the dates of the available automatic snapshots.
 
Constraints:
 Must be specified in YYYY-MM-DD format.
 
 This parameter cannot be defined together with the use latest restorable auto snapshot parameter.
 The restore date and use latest restorable auto snapshot parameters are mutually
 exclusive.
 
Define this parameter only when copying an automatic snapshot as a manual snapshot. For more information, see the Amazon Lightsail Developer Guide.
restoreDate - The date of the source automatic snapshot to copy. Use the get auto snapshots operation to
        identify the dates of the available automatic snapshots.
        Constraints:
        Must be specified in YYYY-MM-DD format.
        
        This parameter cannot be defined together with the use latest restorable auto snapshot
        parameter. The restore date and use latest restorable auto snapshot parameters
        are mutually exclusive.
        
Define this parameter only when copying an automatic snapshot as a manual snapshot. For more information, see the Amazon Lightsail Developer Guide.
public void setUseLatestRestorableAutoSnapshot(Boolean useLatestRestorableAutoSnapshot)
A Boolean value to indicate whether to use the latest available automatic snapshot of the specified source instance or disk.
Constraints:
 This parameter cannot be defined together with the restore date parameter. The
 use latest restorable auto snapshot and restore date parameters are mutually exclusive.
 
Define this parameter only when copying an automatic snapshot as a manual snapshot. For more information, see the Amazon Lightsail Developer Guide.
useLatestRestorableAutoSnapshot - A Boolean value to indicate whether to use the latest available automatic snapshot of the specified source
        instance or disk.
        Constraints:
        This parameter cannot be defined together with the restore date parameter. The
        use latest restorable auto snapshot and restore date parameters are mutually
        exclusive.
        
Define this parameter only when copying an automatic snapshot as a manual snapshot. For more information, see the Amazon Lightsail Developer Guide.
public Boolean getUseLatestRestorableAutoSnapshot()
A Boolean value to indicate whether to use the latest available automatic snapshot of the specified source instance or disk.
Constraints:
 This parameter cannot be defined together with the restore date parameter. The
 use latest restorable auto snapshot and restore date parameters are mutually exclusive.
 
Define this parameter only when copying an automatic snapshot as a manual snapshot. For more information, see the Amazon Lightsail Developer Guide.
Constraints:
         This parameter cannot be defined together with the restore date parameter. The
         use latest restorable auto snapshot and restore date parameters are mutually
         exclusive.
         
Define this parameter only when copying an automatic snapshot as a manual snapshot. For more information, see the Amazon Lightsail Developer Guide.
public CopySnapshotRequest withUseLatestRestorableAutoSnapshot(Boolean useLatestRestorableAutoSnapshot)
A Boolean value to indicate whether to use the latest available automatic snapshot of the specified source instance or disk.
Constraints:
 This parameter cannot be defined together with the restore date parameter. The
 use latest restorable auto snapshot and restore date parameters are mutually exclusive.
 
Define this parameter only when copying an automatic snapshot as a manual snapshot. For more information, see the Amazon Lightsail Developer Guide.
useLatestRestorableAutoSnapshot - A Boolean value to indicate whether to use the latest available automatic snapshot of the specified source
        instance or disk.
        Constraints:
        This parameter cannot be defined together with the restore date parameter. The
        use latest restorable auto snapshot and restore date parameters are mutually
        exclusive.
        
Define this parameter only when copying an automatic snapshot as a manual snapshot. For more information, see the Amazon Lightsail Developer Guide.
public Boolean isUseLatestRestorableAutoSnapshot()
A Boolean value to indicate whether to use the latest available automatic snapshot of the specified source instance or disk.
Constraints:
 This parameter cannot be defined together with the restore date parameter. The
 use latest restorable auto snapshot and restore date parameters are mutually exclusive.
 
Define this parameter only when copying an automatic snapshot as a manual snapshot. For more information, see the Amazon Lightsail Developer Guide.
Constraints:
         This parameter cannot be defined together with the restore date parameter. The
         use latest restorable auto snapshot and restore date parameters are mutually
         exclusive.
         
Define this parameter only when copying an automatic snapshot as a manual snapshot. For more information, see the Amazon Lightsail Developer Guide.
public void setTargetSnapshotName(String targetSnapshotName)
The name of the new manual snapshot to be created as a copy.
targetSnapshotName - The name of the new manual snapshot to be created as a copy.public String getTargetSnapshotName()
The name of the new manual snapshot to be created as a copy.
public CopySnapshotRequest withTargetSnapshotName(String targetSnapshotName)
The name of the new manual snapshot to be created as a copy.
targetSnapshotName - The name of the new manual snapshot to be created as a copy.public void setSourceRegion(String sourceRegion)
The Amazon Web Services Region where the source manual or automatic snapshot is located.
sourceRegion - The Amazon Web Services Region where the source manual or automatic snapshot is located.RegionNamepublic String getSourceRegion()
The Amazon Web Services Region where the source manual or automatic snapshot is located.
RegionNamepublic CopySnapshotRequest withSourceRegion(String sourceRegion)
The Amazon Web Services Region where the source manual or automatic snapshot is located.
sourceRegion - The Amazon Web Services Region where the source manual or automatic snapshot is located.RegionNamepublic CopySnapshotRequest withSourceRegion(RegionName sourceRegion)
The Amazon Web Services Region where the source manual or automatic snapshot is located.
sourceRegion - The Amazon Web Services Region where the source manual or automatic snapshot is located.RegionNamepublic String toString()
toString in class ObjectObject.toString()public CopySnapshotRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()