private AuthorizeSecurityGroupEgressResponseType authorizeSecurityGroupEgress(final String groupId,
         final String ipProtocol, final Integer fromPort, final Integer toPort, final String cidrIp) {
        AuthorizeSecurityGroupEgressResponseType ret = new AuthorizeSecurityGroupEgressResponseType();
        ret.setRequestId(UUID.randomUUID().toString());
        mockSecurityGroupController.authorizeSecurityGroupEgress(groupId, ipProtocol, fromPort, toPort, cidrIp);
        return ret;
    }
private AuthorizeSecurityGroupEgressResponseType authorizeSecurityGroupEgress ( final String groupId , final String ipProtocol , final Integer fromPort , final Integer toPort , final String cidrIp ) { AuthorizeSecurityGroupEgressResponseType ret = new AuthorizeSecurityGroupEgressResponseType ( ) ; ret . setRequestId ( UUID . randomUUID ( ) . toString ( ) ) ; mockSecurityGroupController . authorizeSecurityGroupEgress ( groupId , ipProtocol , fromPort , toPort , cidrIp ) ; return ret ; }
Handles "authorizeSecurityGroupEgress" request to SecurityGroup and returns response with a SecurityGroup.
@param groupId group Id for SecurityGroup.
@param ipProtocol Ip protocol Name.
@param fromPort from port ranges.
@param toPort to port ranges.
@param cidrIp  cidr Ip for Permission
@return a AuthorizeSecurityGroupEgressResponseType with our new SecurityGroup