code: public void marshall(RDSInstanceDetails rDSInstanceDetails, ProtocolMarshaller protocolMarshaller) {
  
          if (rDSInstanceDetails == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(rDSInstanceDetails.getFamily(), FAMILY_BINDING);
              protocolMarshaller.marshall(rDSInstanceDetails.getInstanceType(), INSTANCETYPE_BINDING);
              protocolMarshaller.marshall(rDSInstanceDetails.getRegion(), REGION_BINDING);
              protocolMarshaller.marshall(rDSInstanceDetails.getDatabaseEngine(), DATABASEENGINE_BINDING);
              protocolMarshaller.marshall(rDSInstanceDetails.getDatabaseEdition(), DATABASEEDITION_BINDING);
              protocolMarshaller.marshall(rDSInstanceDetails.getDeploymentOption(), DEPLOYMENTOPTION_BINDING);
              protocolMarshaller.marshall(rDSInstanceDetails.getLicenseModel(), LICENSEMODEL_BINDING);
              protocolMarshaller.marshall(rDSInstanceDetails.getCurrentGeneration(), CURRENTGENERATION_BINDING);
              protocolMarshaller.marshall(rDSInstanceDetails.getSizeFlexEligible(), SIZEFLEXELIGIBLE_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.