Package com.amazonaws.services.ec2.model
Class CancelImportTaskResult
java.lang.Object
com.amazonaws.services.ec2.model.CancelImportTaskResult
- All Implemented Interfaces:
Serializable
,Cloneable
Contains the output for CancelImportTask.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The ID of the task being canceled.The current state of the task being canceled.getState()
The current state of the task being canceled.int
hashCode()
void
setImportTaskId
(String importTaskId) The ID of the task being canceled.void
setPreviousState
(String previousState) The current state of the task being canceled.void
The current state of the task being canceled.toString()
Returns a string representation of this object; useful for testing and debugging.withImportTaskId
(String importTaskId) The ID of the task being canceled.withPreviousState
(String previousState) The current state of the task being canceled.The current state of the task being canceled.
-
Constructor Details
-
CancelImportTaskResult
public CancelImportTaskResult()
-
-
Method Details
-
setImportTaskId
The ID of the task being canceled.
- Parameters:
importTaskId
- The ID of the task being canceled.
-
getImportTaskId
The ID of the task being canceled.
- Returns:
- The ID of the task being canceled.
-
withImportTaskId
The ID of the task being canceled.
- Parameters:
importTaskId
- The ID of the task being canceled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setState
The current state of the task being canceled.
- Parameters:
state
- The current state of the task being canceled.
-
getState
The current state of the task being canceled.
- Returns:
- The current state of the task being canceled.
-
withState
The current state of the task being canceled.
- Parameters:
state
- The current state of the task being canceled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPreviousState
The current state of the task being canceled.
- Parameters:
previousState
- The current state of the task being canceled.
-
getPreviousState
The current state of the task being canceled.
- Returns:
- The current state of the task being canceled.
-
withPreviousState
The current state of the task being canceled.
- Parameters:
previousState
- The current state of the task being canceled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-