Example usage for com.amazonaws.services.elasticbeanstalk.model EnvironmentStatus Terminated

List of usage examples for com.amazonaws.services.elasticbeanstalk.model EnvironmentStatus Terminated

Introduction

In this page you can find the example usage for com.amazonaws.services.elasticbeanstalk.model EnvironmentStatus Terminated.

Prototype

EnvironmentStatus Terminated

To view the source code for com.amazonaws.services.elasticbeanstalk.model EnvironmentStatus Terminated.

Click Source Link

Usage

From source file:jetbrains.buildServer.runner.elasticbeanstalk.AWSClient.java

License:Apache License

@NotNull
private String getHumanReadableStatus(@NotNull String status) {
    if (EnvironmentStatus.Launching.toString().equals(status))
        return "launching";
    if (EnvironmentStatus.Updating.toString().equals(status))
        return "updating";
    if (EnvironmentStatus.Ready.toString().equals(status))
        return "ready";
    if (EnvironmentStatus.Terminating.toString().equals(status))
        return "terminating";
    if (EnvironmentStatus.Terminated.toString().equals(status))
        return "terminated";
    return ElasticBeanstalkConstants.STATUS_IS_UNKNOWN;
}