code: public void marshall(Cluster cluster, ProtocolMarshaller protocolMarshaller) {
  
          if (cluster == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(cluster.getBackupPolicy(), BACKUPPOLICY_BINDING);
              protocolMarshaller.marshall(cluster.getClusterId(), CLUSTERID_BINDING);
              protocolMarshaller.marshall(cluster.getCreateTimestamp(), CREATETIMESTAMP_BINDING);
              protocolMarshaller.marshall(cluster.getHsms(), HSMS_BINDING);
              protocolMarshaller.marshall(cluster.getHsmType(), HSMTYPE_BINDING);
              protocolMarshaller.marshall(cluster.getPreCoPassword(), PRECOPASSWORD_BINDING);
              protocolMarshaller.marshall(cluster.getSecurityGroup(), SECURITYGROUP_BINDING);
              protocolMarshaller.marshall(cluster.getSourceBackupId(), SOURCEBACKUPID_BINDING);
              protocolMarshaller.marshall(cluster.getState(), STATE_BINDING);
              protocolMarshaller.marshall(cluster.getStateMessage(), STATEMESSAGE_BINDING);
              protocolMarshaller.marshall(cluster.getSubnetMapping(), SUBNETMAPPING_BINDING);
              protocolMarshaller.marshall(cluster.getVpcId(), VPCID_BINDING);
              protocolMarshaller.marshall(cluster.getCertificates(), CERTIFICATES_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.