@Generated(value={"Immutables.generator","_CancelTaskResponse"}) public final class CancelTaskResponse extends Task
Modifier and Type | Class and Description |
---|---|
static class |
CancelTaskResponse.Builder
Builds instances of type
CancelTaskResponse . |
Modifier and Type | Method and Description |
---|---|
static CancelTaskResponse.Builder |
builder()
Creates a builder for
CancelTaskResponse . |
boolean |
equals(Object another)
This instance is equal to all instances of
CancelTaskResponse that have equal attribute values. |
String |
getCommand()
The command that will be executed
|
String |
getCreatedAt()
When the resource was created
|
Integer |
getDiskInMb()
The amount of disk to allocate for the task in MB
|
String |
getDropletId()
The id of the droplet that will be used to run the command
|
String |
getId()
The resource's id
|
Map<String,Link> |
getLinks()
Links to related resources and actions for the resource
|
Integer |
getMemoryInMb()
The amount of memory to allocate for the task in MB
|
String |
getName()
The task's name
|
Result |
getResult()
The task result
|
Integer |
getSequenceId()
The user-facing id of the task
|
TaskState |
getState()
The state of the task
|
String |
getUpdatedAt()
When the resource was last updated
|
int |
hashCode()
Computes a hash code from attributes:
command , diskInMb , dropletId , memoryInMb , name , result , sequenceId , state , createdAt , id , links , updatedAt . |
String |
toString()
Prints the immutable value
CancelTaskResponse with attribute values. |
public String getCommand()
getCommand
in class Task
public Integer getDiskInMb()
getDiskInMb
in class Task
public String getDropletId()
getDropletId
in class Task
public Integer getMemoryInMb()
getMemoryInMb
in class Task
public Integer getSequenceId()
getSequenceId
in class Task
public String getCreatedAt()
getCreatedAt
in class Resource
public String getUpdatedAt()
getUpdatedAt
in class Resource
public boolean equals(Object another)
CancelTaskResponse
that have equal attribute values.public int hashCode()
command
, diskInMb
, dropletId
, memoryInMb
, name
, result
, sequenceId
, state
, createdAt
, id
, links
, updatedAt
.public String toString()
CancelTaskResponse
with attribute values.public static CancelTaskResponse.Builder builder()
CancelTaskResponse
.Copyright © 2018 Pivotal Software, Inc.. All rights reserved.