CopyableBuilder<ConversionTask.Builder,ConversionTask>
, SdkBuilder<ConversionTask.Builder,ConversionTask>
public static interface ConversionTask.Builder extends CopyableBuilder<ConversionTask.Builder,ConversionTask>
Modifier and Type | Method | Description |
---|---|---|
ConversionTask.Builder |
conversionTaskId(String conversionTaskId) |
The ID of the conversion task.
|
ConversionTask.Builder |
expirationTime(String expirationTime) |
The time when the task expires.
|
ConversionTask.Builder |
importInstance(ImportInstanceTaskDetails importInstance) |
If the task is for importing an instance, this contains information about the import instance task.
|
ConversionTask.Builder |
importVolume(ImportVolumeTaskDetails importVolume) |
If the task is for importing a volume, this contains information about the import volume task.
|
ConversionTask.Builder |
state(String state) |
The state of the conversion task.
|
ConversionTask.Builder |
state(ConversionTaskState state) |
The state of the conversion task.
|
ConversionTask.Builder |
statusMessage(String statusMessage) |
The status message related to the conversion task.
|
ConversionTask.Builder |
tags(Collection<Tag> tags) |
Any tags assigned to the task.
|
ConversionTask.Builder |
tags(Tag... tags) |
Any tags assigned to the task.
|
copy
apply, build
ConversionTask.Builder conversionTaskId(String conversionTaskId)
The ID of the conversion task.
conversionTaskId
- The ID of the conversion task.ConversionTask.Builder expirationTime(String expirationTime)
The time when the task expires. If the upload isn't complete before the expiration time, we automatically cancel the task.
expirationTime
- The time when the task expires. If the upload isn't complete before the expiration time, we
automatically cancel the task.ConversionTask.Builder importInstance(ImportInstanceTaskDetails importInstance)
If the task is for importing an instance, this contains information about the import instance task.
importInstance
- If the task is for importing an instance, this contains information about the import instance task.ConversionTask.Builder importVolume(ImportVolumeTaskDetails importVolume)
If the task is for importing a volume, this contains information about the import volume task.
importVolume
- If the task is for importing a volume, this contains information about the import volume task.ConversionTask.Builder state(String state)
The state of the conversion task.
state
- The state of the conversion task.ConversionTaskState
ConversionTask.Builder state(ConversionTaskState state)
The state of the conversion task.
state
- The state of the conversion task.ConversionTaskState
ConversionTask.Builder statusMessage(String statusMessage)
The status message related to the conversion task.
statusMessage
- The status message related to the conversion task.ConversionTask.Builder tags(Collection<Tag> tags)
Any tags assigned to the task.
tags
- Any tags assigned to the task.ConversionTask.Builder tags(Tag... tags)
Any tags assigned to the task.
NOTE: This method appends the values to the existing list (if any). Use
#setTags(java.util.Collection)
or #withTags(java.util.Collection)
if you want to override the
existing values.
tags
- Any tags assigned to the task.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.