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

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

Introduction

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

Prototype


public String getUserId() 

Source Link

Document

The AWS account ID.

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();/* ww  w. j a v a 2s  .c o m*/

}