code: public void marshall(Cluster cluster, ProtocolMarshaller protocolMarshaller) {
  
          if (cluster == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(cluster.getClusterName(), CLUSTERNAME_BINDING);
              protocolMarshaller.marshall(cluster.getDescription(), DESCRIPTION_BINDING);
              protocolMarshaller.marshall(cluster.getClusterArn(), CLUSTERARN_BINDING);
              protocolMarshaller.marshall(cluster.getTotalNodes(), TOTALNODES_BINDING);
              protocolMarshaller.marshall(cluster.getActiveNodes(), ACTIVENODES_BINDING);
              protocolMarshaller.marshall(cluster.getNodeType(), NODETYPE_BINDING);
              protocolMarshaller.marshall(cluster.getStatus(), STATUS_BINDING);
              protocolMarshaller.marshall(cluster.getClusterDiscoveryEndpoint(), CLUSTERDISCOVERYENDPOINT_BINDING);
              protocolMarshaller.marshall(cluster.getNodeIdsToRemove(), NODEIDSTOREMOVE_BINDING);
              protocolMarshaller.marshall(cluster.getNodes(), NODES_BINDING);
              protocolMarshaller.marshall(cluster.getPreferredMaintenanceWindow(), PREFERREDMAINTENANCEWINDOW_BINDING);
              protocolMarshaller.marshall(cluster.getNotificationConfiguration(), NOTIFICATIONCONFIGURATION_BINDING);
              protocolMarshaller.marshall(cluster.getSubnetGroup(), SUBNETGROUP_BINDING);
              protocolMarshaller.marshall(cluster.getSecurityGroups(), SECURITYGROUPS_BINDING);
              protocolMarshaller.marshall(cluster.getIamRoleArn(), IAMROLEARN_BINDING);
              protocolMarshaller.marshall(cluster.getParameterGroup(), PARAMETERGROUP_BINDING);
              protocolMarshaller.marshall(cluster.getSSEDescription(), SSEDESCRIPTION_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.