code: public void marshall(CertificateAuthority certificateAuthority, ProtocolMarshaller protocolMarshaller) {
  
          if (certificateAuthority == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(certificateAuthority.getArn(), ARN_BINDING);
              protocolMarshaller.marshall(certificateAuthority.getCreatedAt(), CREATEDAT_BINDING);
              protocolMarshaller.marshall(certificateAuthority.getLastStateChangeAt(), LASTSTATECHANGEAT_BINDING);
              protocolMarshaller.marshall(certificateAuthority.getType(), TYPE_BINDING);
              protocolMarshaller.marshall(certificateAuthority.getSerial(), SERIAL_BINDING);
              protocolMarshaller.marshall(certificateAuthority.getStatus(), STATUS_BINDING);
              protocolMarshaller.marshall(certificateAuthority.getNotBefore(), NOTBEFORE_BINDING);
              protocolMarshaller.marshall(certificateAuthority.getNotAfter(), NOTAFTER_BINDING);
              protocolMarshaller.marshall(certificateAuthority.getFailureReason(), FAILUREREASON_BINDING);
              protocolMarshaller.marshall(certificateAuthority.getCertificateAuthorityConfiguration(), CERTIFICATEAUTHORITYCONFIGURATION_BINDING);
              protocolMarshaller.marshall(certificateAuthority.getRevocationConfiguration(), REVOCATIONCONFIGURATION_BINDING);
              protocolMarshaller.marshall(certificateAuthority.getRestorableUntil(), RESTORABLEUNTIL_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.