private CreateSecurityGroupResponseType createSecurityGroup ( final String groupName , final String groupDescription , final String vpcId ) { CreateSecurityGroupResponseType ret = new CreateSecurityGroupResponseType ( ) ; ret . setRequestId ( UUID . randomUUID ( ) . toString ( ) ) ; MockSecurityGroup mockSecurityGroup = mockSecurityGroupController . createSecurityGroup ( groupName , groupDescription , vpcId ) ; ret . setGroupId ( mockSecurityGroup . getGroupId ( ) ) ; return ret ; }
Handles createSecurityGroup request to create SecurityGroup and returns response with a SecurityGroup .