@Generated(value="org.immutables.processor.ProxyProcessor") public final class CreateTaskRequest extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CreateTaskRequest.Builder
Builds instances of type
CreateTaskRequest. |
| Modifier and Type | Method and Description |
|---|---|
static CreateTaskRequest.Builder |
builder()
Creates a builder for
CreateTaskRequest. |
boolean |
equals(Object another)
This instance is equal to all instances of
CreateTaskRequest that have equal attribute values. |
String |
getApplicationId()
The application id
|
String |
getCommand()
The command that will be executed
|
Integer |
getDiskInMb()
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
|
Integer |
getMemoryInMb()
The amount of memory to allocate for the task in MB
|
String |
getName()
The name of the task
|
int |
hashCode()
Computes a hash code from attributes:
applicationId, command, diskInMb, dropletId, memoryInMb, name. |
String |
toString()
Prints the immutable value
CreateTaskRequest with attribute values. |
public String getApplicationId()
public String getCommand()
public Integer getDiskInMb()
public String getDropletId()
public Integer getMemoryInMb()
public String getName()
public boolean equals(Object another)
CreateTaskRequest that have equal attribute values.public int hashCode()
applicationId, command, diskInMb, dropletId, memoryInMb, name.public String toString()
CreateTaskRequest with attribute values.public static CreateTaskRequest.Builder builder()
CreateTaskRequest.
CreateTaskRequest.builder()
.applicationId(String) // required applicationId
.command(String) // required command
.diskInMb(Integer | null) // nullable diskInMb
.dropletId(String | null) // nullable dropletId
.memoryInMb(Integer | null) // nullable memoryInMb
.name(String | null) // nullable name
.build();
Copyright © 2020. All rights reserved.