@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateInstanceExportTaskRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<CreateInstanceExportTaskRequest>
Contains the parameters for CreateInstanceExportTask.
NOOP
Constructor and Description |
---|
CreateInstanceExportTaskRequest() |
Modifier and Type | Method and Description |
---|---|
CreateInstanceExportTaskRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDescription()
A description for the conversion task or the resource being exported.
|
Request<CreateInstanceExportTaskRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
ExportToS3TaskSpecification |
getExportToS3Task()
The format and location for an instance export task.
|
String |
getInstanceId()
The ID of the instance.
|
String |
getTargetEnvironment()
The target virtualization environment.
|
int |
hashCode() |
void |
setDescription(String description)
A description for the conversion task or the resource being exported.
|
void |
setExportToS3Task(ExportToS3TaskSpecification exportToS3Task)
The format and location for an instance export task.
|
void |
setInstanceId(String instanceId)
The ID of the instance.
|
void |
setTargetEnvironment(ExportEnvironment targetEnvironment)
The target virtualization environment.
|
void |
setTargetEnvironment(String targetEnvironment)
The target virtualization environment.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateInstanceExportTaskRequest |
withDescription(String description)
A description for the conversion task or the resource being exported.
|
CreateInstanceExportTaskRequest |
withExportToS3Task(ExportToS3TaskSpecification exportToS3Task)
The format and location for an instance export task.
|
CreateInstanceExportTaskRequest |
withInstanceId(String instanceId)
The ID of the instance.
|
CreateInstanceExportTaskRequest |
withTargetEnvironment(ExportEnvironment targetEnvironment)
The target virtualization environment.
|
CreateInstanceExportTaskRequest |
withTargetEnvironment(String targetEnvironment)
The target virtualization environment.
|
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 setDescription(String description)
A description for the conversion task or the resource being exported. The maximum length is 255 bytes.
description
- A description for the conversion task or the resource being exported. The maximum length is 255 bytes.public String getDescription()
A description for the conversion task or the resource being exported. The maximum length is 255 bytes.
public CreateInstanceExportTaskRequest withDescription(String description)
A description for the conversion task or the resource being exported. The maximum length is 255 bytes.
description
- A description for the conversion task or the resource being exported. The maximum length is 255 bytes.public void setExportToS3Task(ExportToS3TaskSpecification exportToS3Task)
The format and location for an instance export task.
exportToS3Task
- The format and location for an instance export task.public ExportToS3TaskSpecification getExportToS3Task()
The format and location for an instance export task.
public CreateInstanceExportTaskRequest withExportToS3Task(ExportToS3TaskSpecification exportToS3Task)
The format and location for an instance export task.
exportToS3Task
- The format and location for an instance export task.public void setInstanceId(String instanceId)
The ID of the instance.
instanceId
- The ID of the instance.public String getInstanceId()
The ID of the instance.
public CreateInstanceExportTaskRequest withInstanceId(String instanceId)
The ID of the instance.
instanceId
- The ID of the instance.public void setTargetEnvironment(String targetEnvironment)
The target virtualization environment.
targetEnvironment
- The target virtualization environment.ExportEnvironment
public String getTargetEnvironment()
The target virtualization environment.
ExportEnvironment
public CreateInstanceExportTaskRequest withTargetEnvironment(String targetEnvironment)
The target virtualization environment.
targetEnvironment
- The target virtualization environment.ExportEnvironment
public void setTargetEnvironment(ExportEnvironment targetEnvironment)
The target virtualization environment.
targetEnvironment
- The target virtualization environment.ExportEnvironment
public CreateInstanceExportTaskRequest withTargetEnvironment(ExportEnvironment targetEnvironment)
The target virtualization environment.
targetEnvironment
- The target virtualization environment.ExportEnvironment
public Request<CreateInstanceExportTaskRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<CreateInstanceExportTaskRequest>
public String toString()
toString
in class Object
Object.toString()
public CreateInstanceExportTaskRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.