Class ImportSnapshotRequest
- All Implemented Interfaces:
ReadLimitInfo
,DryRunSupportedRequest<ImportSnapshotRequest>
,Serializable
,Cloneable
Contains the parameters for ImportSnapshot.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The client-specific data.Token to enable idempotency for VM import requests.The description string for the import snapshot task.Information about the disk container.This method is intended for internal use only.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'.toString()
Returns a string representation of this object; useful for testing and debugging.withClientData
(ClientData clientData) The client-specific data.withClientToken
(String clientToken) Token to enable idempotency for VM import requests.withDescription
(String description) The description string for the import snapshot task.withDiskContainer
(SnapshotDiskContainer diskContainer) Information about the disk container.withRoleName
(String roleName) The name of the role to use when not using the default role, 'vmimport'.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
ImportSnapshotRequest
public ImportSnapshotRequest()
-
-
Method Details
-
setDescription
The description string for the import snapshot task.
- Parameters:
description
- The description string for the import snapshot task.
-
getDescription
The description string for the import snapshot task.
- Returns:
- The description string for the import snapshot task.
-
withDescription
The description string for the import snapshot task.
- Parameters:
description
- The description string for the import snapshot task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDiskContainer
Information about the disk container.
- Parameters:
diskContainer
- Information about the disk container.
-
getDiskContainer
Information about the disk container.
- Returns:
- Information about the disk container.
-
withDiskContainer
Information about the disk container.
- Parameters:
diskContainer
- Information about the disk container.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setClientData
The client-specific data.
- Parameters:
clientData
- The client-specific data.
-
getClientData
The client-specific data.
- Returns:
- The client-specific data.
-
withClientData
The client-specific data.
- Parameters:
clientData
- The client-specific data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setClientToken
Token to enable idempotency for VM import requests.
- Parameters:
clientToken
- Token to enable idempotency for VM import requests.
-
getClientToken
Token to enable idempotency for VM import requests.
- Returns:
- Token to enable idempotency for VM import requests.
-
withClientToken
Token to enable idempotency for VM import requests.
- Parameters:
clientToken
- Token to enable idempotency for VM import requests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRoleName
The name of the role to use when not using the default role, 'vmimport'.
- Parameters:
roleName
- The name of the role to use when not using the default role, 'vmimport'.
-
getRoleName
The name of the role to use when not using the default role, 'vmimport'.
- Returns:
- The name of the role to use when not using the default role, 'vmimport'.
-
withRoleName
The name of the role to use when not using the default role, 'vmimport'.
- Parameters:
roleName
- The name of the role to use when not using the default role, 'vmimport'.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getDryRunRequest
This method is intended for internal use only. Returns the marshaled request configured with additional parameters to enable operation dry-run.- Specified by:
getDryRunRequest
in interfaceDryRunSupportedRequest<ImportSnapshotRequest>
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-