@Generated(value="org.immutables.processor.ProxyProcessor") public final class ProcessResource extends Process
| Modifier and Type | Class and Description |
|---|---|
static class |
ProcessResource.Builder
Builds instances of type
ProcessResource. |
| Modifier and Type | Method and Description |
|---|---|
static ProcessResource.Builder |
builder()
Creates a builder for
ProcessResource. |
boolean |
equals(Object another)
This instance is equal to all instances of
ProcessResource that have equal attribute values. |
String |
getCommand()
The command
|
String |
getCreatedAt()
When the resource was created
|
Integer |
getDiskInMb()
The disk in megabytes
|
HealthCheck |
getHealthCheck()
The health check
|
String |
getId()
The resource's id
|
Integer |
getInstances()
The instances
|
Map<String,Link> |
getLinks()
Links to related resources and actions for the resource
|
Integer |
getMemoryInMb()
The memory in megabytes
|
String |
getType()
The type
|
String |
getUpdatedAt()
When the resource was last updated
|
int |
hashCode()
Computes a hash code from attributes:
type, command, instances, memoryInMb, diskInMb, healthCheck, createdAt, id, links, updatedAt. |
String |
toString()
Prints the immutable value
ProcessResource with attribute values. |
public String getCommand()
getCommand in class Processpublic Integer getInstances()
getInstances in class Processpublic Integer getMemoryInMb()
getMemoryInMb in class Processpublic Integer getDiskInMb()
getDiskInMb in class Processpublic HealthCheck getHealthCheck()
getHealthCheck in class Processpublic String getCreatedAt()
getCreatedAt in class Resourcepublic String getUpdatedAt()
getUpdatedAt in class Resourcepublic boolean equals(Object another)
ProcessResource that have equal attribute values.public int hashCode()
type, command, instances, memoryInMb, diskInMb, healthCheck, createdAt, id, links, updatedAt.public String toString()
ProcessResource with attribute values.public static ProcessResource.Builder builder()
ProcessResource.
ProcessResource.builder()
.type(String) // required type
.command(String) // required command
.instances(Integer) // required instances
.memoryInMb(Integer) // required memoryInMb
.diskInMb(Integer) // required diskInMb
.healthCheck(org.cloudfoundry.client.v3.processes.HealthCheck) // required healthCheck
.createdAt(String) // required createdAt
.id(String) // required id
.link|putAllLinks(String => Link) // links mappings
.updatedAt(String | null) // nullable updatedAt
.build();
Copyright © 2019. All rights reserved.