private CreateInternetGatewayResponseType createInternetGateway ( ) { CreateInternetGatewayResponseType ret = new CreateInternetGatewayResponseType ( ) ; ret . setRequestId ( UUID . randomUUID ( ) . toString ( ) ) ; MockInternetGateway mockInternetGateway = mockInternetGatewayController . createInternetGateway ( ) ; InternetGatewayType internetGateway = new InternetGatewayType ( ) ; internetGateway . setInternetGatewayId ( mockInternetGateway . getInternetGatewayId ( ) ) ; ret . setInternetGateway ( internetGateway ) ; return ret ; }
Handles createInternetGateway request to create InternetGateway and returns response with a InternetGateway .