code: public void marshall(ClusterInfo clusterInfo, ProtocolMarshaller protocolMarshaller) {
  
          if (clusterInfo == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(clusterInfo.getBrokerNodeGroupInfo(), BROKERNODEGROUPINFO_BINDING);
              protocolMarshaller.marshall(clusterInfo.getClusterArn(), CLUSTERARN_BINDING);
              protocolMarshaller.marshall(clusterInfo.getClusterName(), CLUSTERNAME_BINDING);
              protocolMarshaller.marshall(clusterInfo.getCreationTime(), CREATIONTIME_BINDING);
              protocolMarshaller.marshall(clusterInfo.getCurrentBrokerSoftwareInfo(), CURRENTBROKERSOFTWAREINFO_BINDING);
              protocolMarshaller.marshall(clusterInfo.getCurrentVersion(), CURRENTVERSION_BINDING);
              protocolMarshaller.marshall(clusterInfo.getEncryptionInfo(), ENCRYPTIONINFO_BINDING);
              protocolMarshaller.marshall(clusterInfo.getEnhancedMonitoring(), ENHANCEDMONITORING_BINDING);
              protocolMarshaller.marshall(clusterInfo.getNumberOfBrokerNodes(), NUMBEROFBROKERNODES_BINDING);
              protocolMarshaller.marshall(clusterInfo.getState(), STATE_BINDING);
              protocolMarshaller.marshall(clusterInfo.getZookeeperConnectString(), ZOOKEEPERCONNECTSTRING_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.