@Generated(value="org.immutables.processor.ProxyProcessor") public final class DeploymentResource extends Deployment
| Modifier and Type | Class and Description |
|---|---|
static class |
DeploymentResource.Builder
Builds instances of type
DeploymentResource. |
| Modifier and Type | Method and Description |
|---|---|
static DeploymentResource.Builder |
builder()
Creates a builder for
DeploymentResource. |
boolean |
equals(Object another)
This instance is equal to all instances of
DeploymentResource that have equal attribute values. |
ToOneRelationship |
getApplication()
The application the deployment is updating
|
String |
getCreatedAt()
When the resource was created
|
Relationship |
getDroplet()
The droplet the deployment is transitioning the app to
|
String |
getId()
The resource's id
|
Map<String,Link> |
getLinks()
Links to related resources and actions for the resource
|
List<Process> |
getNewProcesses()
The revision the deployment is transitioning the app to
|
Relationship |
getPreviousDroplet()
The app’s current droplet before the deployment was created
|
DeploymentRelationships |
getRelationships()
The relationships
|
Revision |
getRevision()
The revision the deployment is transitioning the app to
|
DeploymentState |
getState()
The state of the deployment
|
String |
getUpdatedAt()
When the resource was last updated
|
int |
hashCode()
Computes a hash code from attributes:
application, droplet, newProcesses, previousDroplet, relationships, revision, state, createdAt, id, links, updatedAt. |
String |
toString()
Prints the immutable value
DeploymentResource with attribute values. |
public ToOneRelationship getApplication()
getApplication in class Deploymentpublic Relationship getDroplet()
getDroplet in class Deploymentpublic List<Process> getNewProcesses()
getNewProcesses in class Deploymentpublic Relationship getPreviousDroplet()
getPreviousDroplet in class Deploymentpublic DeploymentRelationships getRelationships()
getRelationships in class Deploymentpublic Revision getRevision()
getRevision in class Deploymentpublic DeploymentState getState()
getState in class Deploymentpublic String getCreatedAt()
getCreatedAt in class Resourcepublic String getUpdatedAt()
getUpdatedAt in class Resourcepublic boolean equals(Object another)
DeploymentResource that have equal attribute values.public int hashCode()
application, droplet, newProcesses, previousDroplet, relationships, revision, state, createdAt, id, links, updatedAt.public String toString()
DeploymentResource with attribute values.public static DeploymentResource.Builder builder()
DeploymentResource.
DeploymentResource.builder()
.application(org.cloudfoundry.client.v3.ToOneRelationship | null) // nullable application
.droplet(org.cloudfoundry.client.v3.Relationship | null) // nullable droplet
.newProcesses(List<Process> | null) // nullable newProcesses
.previousDroplet(org.cloudfoundry.client.v3.Relationship | null) // nullable previousDroplet
.relationships(org.cloudfoundry.client.v3.deployments.DeploymentRelationships | null) // nullable relationships
.revision(org.cloudfoundry.client.v3.deployments.Revision | null) // nullable revision
.state(org.cloudfoundry.client.v3.deployments.DeploymentState) // required state
.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.