@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImportSnapshotRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<ImportSnapshotRequest>
Contains the parameters for ImportSnapshot.
NOOP
Constructor and Description |
---|
ImportSnapshotRequest() |
Modifier and Type | Method and Description |
---|---|
ImportSnapshotRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
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'.
|
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 setClientData(ClientData clientData)
The client-specific data.
clientData
- The client-specific data.public ClientData getClientData()
The client-specific data.
public ImportSnapshotRequest withClientData(ClientData clientData)
The client-specific data.
clientData
- The client-specific data.public void setClientToken(String clientToken)
Token to enable idempotency for VM import requests.
clientToken
- Token to enable idempotency for VM import requests.public String getClientToken()
Token to enable idempotency for VM import requests.
public ImportSnapshotRequest withClientToken(String clientToken)
Token to enable idempotency for VM import requests.
clientToken
- Token to enable idempotency for VM import requests.public void setDescription(String description)
The description string for the import snapshot task.
description
- The description string for the import snapshot task.public String getDescription()
The description string for the import snapshot task.
public ImportSnapshotRequest withDescription(String description)
The description string for the import snapshot task.
description
- The description string for the import snapshot task.public void setDiskContainer(SnapshotDiskContainer diskContainer)
Information about the disk container.
diskContainer
- Information about the disk container.public SnapshotDiskContainer getDiskContainer()
Information about the disk container.
public ImportSnapshotRequest withDiskContainer(SnapshotDiskContainer diskContainer)
Information about the disk container.
diskContainer
- Information about the disk container.public void setRoleName(String roleName)
The name of the role to use when not using the default role, 'vmimport'.
roleName
- The name of the role to use when not using the default role, 'vmimport'.public String getRoleName()
The name of the role to use when not using the default role, 'vmimport'.
public ImportSnapshotRequest withRoleName(String roleName)
The name of the role to use when not using the default role, 'vmimport'.
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 Object
Object.toString()
public ImportSnapshotRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.