@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateInstanceExportTaskRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<CreateInstanceExportTaskRequest>
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 export instance task.
|
String |
getInstanceId()
The ID of the instance.
|
List<TagSpecification> |
getTagSpecifications()
The tags to apply to the export instance task during creation.
|
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 export instance task.
|
void |
setInstanceId(String instanceId)
The ID of the instance.
|
void |
setTagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to apply to the export instance task during creation.
|
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.
|
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 export instance task.
|
CreateInstanceExportTaskRequest |
withInstanceId(String instanceId)
The ID of the instance.
|
CreateInstanceExportTaskRequest |
withTagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to apply to the export instance task during creation.
|
CreateInstanceExportTaskRequest |
withTagSpecifications(TagSpecification... tagSpecifications)
The tags to apply to the export instance task during creation.
|
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 characters.
description
- A description for the conversion task or the resource being exported. The maximum length is 255
characters.public String getDescription()
A description for the conversion task or the resource being exported. The maximum length is 255 characters.
public CreateInstanceExportTaskRequest withDescription(String description)
A description for the conversion task or the resource being exported. The maximum length is 255 characters.
description
- A description for the conversion task or the resource being exported. The maximum length is 255
characters.public void setExportToS3Task(ExportToS3TaskSpecification exportToS3Task)
The format and location for an export instance task.
exportToS3Task
- The format and location for an export instance task.public ExportToS3TaskSpecification getExportToS3Task()
The format and location for an export instance task.
public CreateInstanceExportTaskRequest withExportToS3Task(ExportToS3TaskSpecification exportToS3Task)
The format and location for an export instance task.
exportToS3Task
- The format and location for an export instance 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 List<TagSpecification> getTagSpecifications()
The tags to apply to the export instance task during creation.
public void setTagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to apply to the export instance task during creation.
tagSpecifications
- The tags to apply to the export instance task during creation.public CreateInstanceExportTaskRequest withTagSpecifications(TagSpecification... tagSpecifications)
The tags to apply to the export instance task during creation.
NOTE: This method appends the values to the existing list (if any). Use
setTagSpecifications(java.util.Collection)
or withTagSpecifications(java.util.Collection)
if
you want to override the existing values.
tagSpecifications
- The tags to apply to the export instance task during creation.public CreateInstanceExportTaskRequest withTagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to apply to the export instance task during creation.
tagSpecifications
- The tags to apply to the export instance task during creation.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()