@Generated(value="org.immutables.processor.ProxyProcessor") public final class UpdateApplicationRequest extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
UpdateApplicationRequest.Builder
Builds instances of type
UpdateApplicationRequest. |
| Modifier and Type | Method and Description |
|---|---|
static UpdateApplicationRequest.Builder |
builder()
Creates a builder for
UpdateApplicationRequest. |
boolean |
equals(Object another)
This instance is equal to all instances of
UpdateApplicationRequest that have equal attribute values. |
String |
getApplicationId()
The application id
|
String |
getBuildpack()
Buildpack to build the application
|
String |
getCommand()
The command to start the application after it is staged
|
Boolean |
getConsole()
Deprecated.
|
String |
getDebug()
Deprecated.
|
Boolean |
getDiego()
Use diego to stage and to run when available
|
Integer |
getDiskQuota()
The maximum amount of disk available to an instance of an application.
|
DockerCredentials |
getDockerCredentials()
Docker credentials for pulling docker image
|
String |
getDockerImage()
Name of the Docker image containing the application
|
Boolean |
getEnableSsh()
Enable SSH for the application
|
Map<String,Object> |
getEnvironmentJsons()
Key/value pairs of all the environment variables to run in your application.
|
String |
getHealthCheckHttpEndpoint()
The HTTP endpoint to check for health
|
Integer |
getHealthCheckTimeout()
Timeout for health checking of an staged application when starting up
|
String |
getHealthCheckType()
Type of health check to perform
|
Integer |
getInstances()
The number of instances of the application to run.
|
Integer |
getMemory()
The amount of memory each instance should have.
|
String |
getName()
The name of the application
|
List<Integer> |
getPorts()
The ports on which the application may listen
|
String |
getProduction()
Deprecated.
|
String |
getSpaceId()
The id of the associated space
|
String |
getStackId()
The id of the associated stack
|
String |
getState()
The current desired state of the application
|
int |
hashCode()
Computes a hash code from attributes:
applicationId, buildpack, command, console, debug, diego, diskQuota, dockerCredentials, dockerImage, enableSsh, environmentJsons, healthCheckHttpEndpoint, healthCheckTimeout, healthCheckType, instances, memory, name, ports, production, spaceId, stackId, state. |
String |
toString()
Prints the immutable value
UpdateApplicationRequest with attribute values. |
public String getApplicationId()
public String getBuildpack()
public String getCommand()
@Deprecated public Boolean getConsole()
$CONSOLE_PORT)@Deprecated public String getDebug()
$DEBUG_PORT)public Boolean getDiego()
public Integer getDiskQuota()
public DockerCredentials getDockerCredentials()
public String getDockerImage()
public Boolean getEnableSsh()
public Map<String,Object> getEnvironmentJsons()
public String getHealthCheckHttpEndpoint()
public Integer getHealthCheckTimeout()
public String getHealthCheckType()
public Integer getInstances()
public Integer getMemory()
public String getName()
@Deprecated public String getProduction()
public String getSpaceId()
public String getStackId()
public String getState()
public boolean equals(Object another)
UpdateApplicationRequest that have equal attribute values.public int hashCode()
applicationId, buildpack, command, console, debug, diego, diskQuota, dockerCredentials, dockerImage, enableSsh, environmentJsons, healthCheckHttpEndpoint, healthCheckTimeout, healthCheckType, instances, memory, name, ports, production, spaceId, stackId, state.public String toString()
UpdateApplicationRequest with attribute values.public static UpdateApplicationRequest.Builder builder()
UpdateApplicationRequest.
UpdateApplicationRequest.builder()
.applicationId(String) // required applicationId
.buildpack(String | null) // nullable buildpack
.command(String | null) // nullable command
.console(Boolean | null) // nullable console
.debug(String | null) // nullable debug
.diego(Boolean | null) // nullable diego
.diskQuota(Integer | null) // nullable diskQuota
.dockerCredentials(org.cloudfoundry.client.v2.applications.DockerCredentials | null) // nullable dockerCredentials
.dockerImage(String | null) // nullable dockerImage
.enableSsh(Boolean | null) // nullable enableSsh
.environmentJsons(Map<String, Object> | null) // nullable environmentJsons
.healthCheckHttpEndpoint(String | null) // nullable healthCheckHttpEndpoint
.healthCheckTimeout(Integer | null) // nullable healthCheckTimeout
.healthCheckType(String | null) // nullable healthCheckType
.instances(Integer | null) // nullable instances
.memory(Integer | null) // nullable memory
.name(String | null) // nullable name
.ports(List<Integer> | null) // nullable ports
.production(String | null) // nullable production
.spaceId(String | null) // nullable spaceId
.stackId(String | null) // nullable stackId
.state(String | null) // nullable state
.build();
Copyright © 2020. All rights reserved.