public Request<CreateIPSetRequest> marshall(CreateIPSetRequest createIPSetRequest) { if (createIPSetRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { final ProtocolRequestMarshaller<CreateIPSetRequest> protocolMarshaller = protocolFactory.createProtocolMarshaller(SDK_OPERATION_BINDING, createIPSetRequest); protocolMarshaller.startMarshalling(); CreateIPSetRequestMarshaller.getInstance().marshall(createIPSetRequest, protocolMarshaller); return protocolMarshaller.finishMarshalling(); } catch (Exception e) { throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e); } }