@Generated(value={"Immutables.generator","_TaskResource"}) public final class TaskResource extends Task
| Modifier and Type | Class and Description |
|---|---|
static class |
TaskResource.Builder
Builds instances of type
TaskResource. |
| Modifier and Type | Method and Description |
|---|---|
static TaskResource.Builder |
builder()
Creates a builder for
TaskResource. |
boolean |
equals(Object another)
This instance is equal to all instances of
TaskResource that have equal attribute values. |
String |
getCommand()
The command
|
String |
getCreatedAt()
The created at
|
Map<String,String> |
getEnvironmentVariables()
The environment variables
|
String |
getId()
The id
|
Map<String,Link> |
getLinks()
The links
|
Integer |
getMemoryInMb()
The memory in megabytes=
|
String |
getName()
The tasks name
|
Result |
getResult()
The task result
|
State |
getState()
The task state
|
String |
getUpdatedAt()
The updated at
|
int |
hashCode()
Computes a hash code from attributes:
command, createdAt, environmentVariables, id, links, memoryInMb, name, result, state, updatedAt. |
String |
toString()
Prints the immutable value
TaskResource with attribute values. |
public String getCommand()
getCommand in class Taskpublic String getCreatedAt()
getCreatedAt in class Taskpublic Map<String,String> getEnvironmentVariables()
getEnvironmentVariables in class Taskpublic Integer getMemoryInMb()
getMemoryInMb in class Taskpublic String getUpdatedAt()
getUpdatedAt in class Taskpublic boolean equals(Object another)
TaskResource that have equal attribute values.public int hashCode()
command, createdAt, environmentVariables, id, links, memoryInMb, name, result, state, updatedAt.public String toString()
TaskResource with attribute values.public static TaskResource.Builder builder()
TaskResource.Copyright © 2017 Pivotal Software, Inc.. All rights reserved.