Example usage for com.amazonaws.services.elasticbeanstalk.model CreateApplicationRequest setApplicationName

List of usage examples for com.amazonaws.services.elasticbeanstalk.model CreateApplicationRequest setApplicationName

Introduction

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

Prototype


public void setApplicationName(String applicationName) 

Source Link

Document

The name of the application.

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);
    cr.setDescription("Generated by CloudML");
    CreateApplicationResult res = beanstalkClient.createApplication(cr);
    journal.log(Level.INFO, ">> Status of the application creation: " + res.toString());
}