@Generated(value="org.immutables.processor.ProxyProcessor") public final class CreateDeploymentResponse extends Deployment
| Modifier and Type | Class and Description |
|---|---|
static class |
CreateDeploymentResponse.Builder
Builds instances of type
CreateDeploymentResponse. |
| Modifier and Type | Method and Description |
|---|---|
static CreateDeploymentResponse.Builder |
builder()
Creates a builder for
CreateDeploymentResponse. |
boolean |
equals(Object another)
This instance is equal to all instances of
CreateDeploymentResponse 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
|
Metadata |
getMetadata()
The metadata
|
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()
Deprecated.
|
Status |
getStatus()
The status of the deployment
|
DeploymentStrategy |
getStrategy()
The strategy of the deployment
|
String |
getUpdatedAt()
When the resource was last updated
|
int |
hashCode()
Computes a hash code from attributes:
createdAt, id, links, updatedAt, application, droplet, metadata, newProcesses, previousDroplet, relationships, revision, state, status, strategy. |
String |
toString()
Prints the immutable value
CreateDeploymentResponse with attribute values. |
public String getCreatedAt()
getCreatedAt in class Resourcepublic String getUpdatedAt()
getUpdatedAt in class Resourcepublic ToOneRelationship getApplication()
getApplication in class Deploymentpublic Relationship getDroplet()
getDroplet in class Deploymentpublic Metadata getMetadata()
getMetadata 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 Deployment@Deprecated public DeploymentState getState()
getState in class Deploymentpublic Status getStatus()
getStatus in class Deploymentpublic DeploymentStrategy getStrategy()
getStrategy in class Deploymentpublic boolean equals(Object another)
CreateDeploymentResponse that have equal attribute values.public int hashCode()
createdAt, id, links, updatedAt, application, droplet, metadata, newProcesses, previousDroplet, relationships, revision, state, status, strategy.public String toString()
CreateDeploymentResponse with attribute values.public static CreateDeploymentResponse.Builder builder()
CreateDeploymentResponse.
CreateDeploymentResponse.builder()
.createdAt(String) // required createdAt
.id(String) // required id
.link|putAllLinks(String => Link) // links mappings
.updatedAt(String | null) // nullable updatedAt
.application(org.cloudfoundry.client.v3.ToOneRelationship | null) // nullable application
.droplet(org.cloudfoundry.client.v3.Relationship | null) // nullable droplet
.metadata(org.cloudfoundry.client.v3.Metadata | null) // nullable metadata
.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
.status(org.cloudfoundry.client.v3.deployments.Status | null) // nullable status
.strategy(org.cloudfoundry.client.v3.deployments.DeploymentStrategy | null) // nullable strategy
.build();
Copyright © 2020. All rights reserved.