Example usage for com.amazonaws.services.elasticbeanstalk.model CreateApplicationResult toString

List of usage examples for com.amazonaws.services.elasticbeanstalk.model CreateApplicationResult toString

Introduction

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

Prototype

@Override
public String toString() 

Source Link

Document

Returns a string representation of this object.

Usage

From source file:org.cloudml.connectors.BeanstalkConnector.java

License:Open Source License

public void createApplication(String name) {
    CreateApplicationRequest cr = new CreateApplicationRequest();
    cr.setApplicationName(name);/*from   w  ww. j  a  v  a  2s.  c  o m*/
    cr.setDescription("Generated by CloudML");
    CreateApplicationResult res = beanstalkClient.createApplication(cr);
    journal.log(Level.INFO, ">> Status of the application creation: " + res.toString());
}