Example usage for com.amazonaws.services.identitymanagement.model CreateGroupResult getGroup

List of usage examples for com.amazonaws.services.identitymanagement.model CreateGroupResult getGroup

Introduction

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

Prototype


public Group getGroup() 

Source Link

Document

A structure containing details about the new group.

Usage

From source file:org.cloudfoundry.community.servicebroker.s3.service.Iam.java

License:Apache License

public Group createGroup(String groupName) {
    CreateGroupRequest request = new CreateGroupRequest(groupName);
    request.setPath(groupPath);//from  w  ww.  j av  a  2  s. c  o m
    CreateGroupResult result = iam.createGroup(request);
    return result.getGroup();
}