@Generated(value="org.immutables.processor.ProxyProcessor") public final class CreateApplicationRequest extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CreateApplicationRequest.Builder
Builds instances of type
CreateApplicationRequest. |
| Modifier and Type | Method and Description |
|---|---|
static CreateApplicationRequest.Builder |
builder()
Creates a builder for
CreateApplicationRequest. |
boolean |
equals(Object another)
This instance is equal to all instances of
CreateApplicationRequest that have equal attribute values. |
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.
|
String |
getDetectedStartCommand()
The command detected by the buildpack during staging
|
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 SSHing into 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 applcation 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
|
Boolean |
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:
buildpack, command, console, debug, detectedStartCommand, diego, diskQuota, dockerCredentials, dockerImage, enableSsh, environmentJsons, healthCheckHttpEndpoint, healthCheckTimeout, healthCheckType, instances, memory, name, ports, production, spaceId, stackId, state. |
String |
toString()
Prints the immutable value
CreateApplicationRequest with attribute values. |
public String getBuildpack()
public String getCommand()
@Deprecated public Boolean getConsole()
@Deprecated public String getDebug()
public String getDetectedStartCommand()
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 Boolean getProduction()
public String getSpaceId()
public String getStackId()
public String getState()
public boolean equals(Object another)
CreateApplicationRequest that have equal attribute values.public int hashCode()
buildpack, command, console, debug, detectedStartCommand, diego, diskQuota, dockerCredentials, dockerImage, enableSsh, environmentJsons, healthCheckHttpEndpoint, healthCheckTimeout, healthCheckType, instances, memory, name, ports, production, spaceId, stackId, state.public String toString()
CreateApplicationRequest with attribute values.public static CreateApplicationRequest.Builder builder()
CreateApplicationRequest.
CreateApplicationRequest.builder()
.buildpack(String | null) // nullable buildpack
.command(String | null) // nullable command
.console(Boolean | null) // nullable console
.debug(String | null) // nullable debug
.detectedStartCommand(String | null) // nullable detectedStartCommand
.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) // required name
.ports(List<Integer> | null) // nullable ports
.production(Boolean | null) // nullable production
.spaceId(String) // required spaceId
.stackId(String | null) // nullable stackId
.state(String | null) // nullable state
.build();
Copyright © 2020. All rights reserved.