code: public void marshall(Server server, ProtocolMarshaller protocolMarshaller) {
  
          if (server == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(server.getAssociatePublicIpAddress(), ASSOCIATEPUBLICIPADDRESS_BINDING);
              protocolMarshaller.marshall(server.getBackupRetentionCount(), BACKUPRETENTIONCOUNT_BINDING);
              protocolMarshaller.marshall(server.getServerName(), SERVERNAME_BINDING);
              protocolMarshaller.marshall(server.getCreatedAt(), CREATEDAT_BINDING);
              protocolMarshaller.marshall(server.getCloudFormationStackArn(), CLOUDFORMATIONSTACKARN_BINDING);
              protocolMarshaller.marshall(server.getDisableAutomatedBackup(), DISABLEAUTOMATEDBACKUP_BINDING);
              protocolMarshaller.marshall(server.getEndpoint(), ENDPOINT_BINDING);
              protocolMarshaller.marshall(server.getEngine(), ENGINE_BINDING);
              protocolMarshaller.marshall(server.getEngineModel(), ENGINEMODEL_BINDING);
              protocolMarshaller.marshall(server.getEngineAttributes(), ENGINEATTRIBUTES_BINDING);
              protocolMarshaller.marshall(server.getEngineVersion(), ENGINEVERSION_BINDING);
              protocolMarshaller.marshall(server.getInstanceProfileArn(), INSTANCEPROFILEARN_BINDING);
              protocolMarshaller.marshall(server.getInstanceType(), INSTANCETYPE_BINDING);
              protocolMarshaller.marshall(server.getKeyPair(), KEYPAIR_BINDING);
              protocolMarshaller.marshall(server.getMaintenanceStatus(), MAINTENANCESTATUS_BINDING);
              protocolMarshaller.marshall(server.getPreferredMaintenanceWindow(), PREFERREDMAINTENANCEWINDOW_BINDING);
              protocolMarshaller.marshall(server.getPreferredBackupWindow(), PREFERREDBACKUPWINDOW_BINDING);
              protocolMarshaller.marshall(server.getSecurityGroupIds(), SECURITYGROUPIDS_BINDING);
              protocolMarshaller.marshall(server.getServiceRoleArn(), SERVICEROLEARN_BINDING);
              protocolMarshaller.marshall(server.getStatus(), STATUS_BINDING);
              protocolMarshaller.marshall(server.getStatusReason(), STATUSREASON_BINDING);
              protocolMarshaller.marshall(server.getSubnetIds(), SUBNETIDS_BINDING);
              protocolMarshaller.marshall(server.getServerArn(), SERVERARN_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.