public class ImportSnapshotRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<ImportSnapshotRequest>
ImportSnapshot operation.
Imports a disk into an EBS snapshot.
NOOP| Constructor and Description |
|---|
ImportSnapshotRequest() |
| Modifier and Type | Method and Description |
|---|---|
ImportSnapshotRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
ClientData |
getClientData()
The client-specific data.
|
String |
getClientToken()
Token to enable idempotency for VM import requests.
|
String |
getDescription()
The description string for the import snapshot task.
|
SnapshotDiskContainer |
getDiskContainer()
Information about the disk container.
|
Request<ImportSnapshotRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getRoleName()
The name of the role to use when not using the default role,
'vmimport'.
|
int |
hashCode() |
void |
setClientData(ClientData clientData)
The client-specific data.
|
void |
setClientToken(String clientToken)
Token to enable idempotency for VM import requests.
|
void |
setDescription(String description)
The description string for the import snapshot task.
|
void |
setDiskContainer(SnapshotDiskContainer diskContainer)
Information about the disk container.
|
void |
setRoleName(String roleName)
The name of the role to use when not using the default role,
'vmimport'.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ImportSnapshotRequest |
withClientData(ClientData clientData)
The client-specific data.
|
ImportSnapshotRequest |
withClientToken(String clientToken)
Token to enable idempotency for VM import requests.
|
ImportSnapshotRequest |
withDescription(String description)
The description string for the import snapshot task.
|
ImportSnapshotRequest |
withDiskContainer(SnapshotDiskContainer diskContainer)
Information about the disk container.
|
ImportSnapshotRequest |
withRoleName(String roleName)
The name of the role to use when not using the default role,
'vmimport'.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic String getDescription()
public void setDescription(String description)
description - The description string for the import snapshot task.public ImportSnapshotRequest withDescription(String description)
Returns a reference to this object so that method calls can be chained together.
description - The description string for the import snapshot task.public SnapshotDiskContainer getDiskContainer()
public void setDiskContainer(SnapshotDiskContainer diskContainer)
diskContainer - Information about the disk container.public ImportSnapshotRequest withDiskContainer(SnapshotDiskContainer diskContainer)
Returns a reference to this object so that method calls can be chained together.
diskContainer - Information about the disk container.public ClientData getClientData()
public void setClientData(ClientData clientData)
clientData - The client-specific data.public ImportSnapshotRequest withClientData(ClientData clientData)
Returns a reference to this object so that method calls can be chained together.
clientData - The client-specific data.public String getClientToken()
public void setClientToken(String clientToken)
clientToken - Token to enable idempotency for VM import requests.public ImportSnapshotRequest withClientToken(String clientToken)
Returns a reference to this object so that method calls can be chained together.
clientToken - Token to enable idempotency for VM import requests.public String getRoleName()
public void setRoleName(String roleName)
roleName - The name of the role to use when not using the default role,
'vmimport'.public ImportSnapshotRequest withRoleName(String roleName)
Returns a reference to this object so that method calls can be chained together.
roleName - The name of the role to use when not using the default role,
'vmimport'.public Request<ImportSnapshotRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<ImportSnapshotRequest>public String toString()
toString in class ObjectObject.toString()public ImportSnapshotRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.