Example usage for com.amazonaws.services.ec2.model LaunchPermission getGroup

List of usage examples for com.amazonaws.services.ec2.model LaunchPermission getGroup

Introduction

In this page you can find the example usage for com.amazonaws.services.ec2.model LaunchPermission getGroup.

Prototype


public String getGroup() 

Source Link

Document

The name of the group.

Usage

From source file:org.xmlsh.aws.util.AWSEC2Command.java

License:BSD License

private void writeLaunchPermission(LaunchPermission p) throws XMLStreamException {
    startElement("launch-permissions");

    if (!Util.isBlank(p.getGroup()))
        attribute("group", p.getGroup());
    if (!Util.isBlank(p.getUserId()))
        attribute("user-id", p.getUserId());
    endElement();/* www  .  j a v a  2  s . c  o  m*/

}