@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateTaskResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateTaskResult() |
Modifier and Type | Method and Description |
---|---|
CreateTaskResult |
clone() |
boolean |
equals(Object obj) |
String |
getTaskArn()
The Amazon Resource Name (ARN) of the task that you created.
|
String |
getTaskId()
The ID of the task that you created.
|
int |
hashCode() |
void |
setTaskArn(String taskArn)
The Amazon Resource Name (ARN) of the task that you created.
|
void |
setTaskId(String taskId)
The ID of the task that you created.
|
String |
toString()
Returns a string representation of this object.
|
CreateTaskResult |
withTaskArn(String taskArn)
The Amazon Resource Name (ARN) of the task that you created.
|
CreateTaskResult |
withTaskId(String taskId)
The ID of the task that you created.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setTaskArn(String taskArn)
The Amazon Resource Name (ARN) of the task that you created.
taskArn
- The Amazon Resource Name (ARN) of the task that you created.public String getTaskArn()
The Amazon Resource Name (ARN) of the task that you created.
public CreateTaskResult withTaskArn(String taskArn)
The Amazon Resource Name (ARN) of the task that you created.
taskArn
- The Amazon Resource Name (ARN) of the task that you created.public void setTaskId(String taskId)
The ID of the task that you created.
taskId
- The ID of the task that you created.public String getTaskId()
The ID of the task that you created.
public CreateTaskResult withTaskId(String taskId)
The ID of the task that you created.
taskId
- The ID of the task that you created.public String toString()
toString
in class Object
Object.toString()
public CreateTaskResult clone()