code: public void marshall(ResendValidationEmailRequest resendValidationEmailRequest, ProtocolMarshaller protocolMarshaller) {
  
          if (resendValidationEmailRequest == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(resendValidationEmailRequest.getCertificateArn(), CERTIFICATEARN_BINDING);
              protocolMarshaller.marshall(resendValidationEmailRequest.getDomain(), DOMAIN_BINDING);
              protocolMarshaller.marshall(resendValidationEmailRequest.getValidationDomain(), VALIDATIONDOMAIN_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.