code: public void marshall(RevisionLocation revisionLocation, ProtocolMarshaller protocolMarshaller) {
  
          if (revisionLocation == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(revisionLocation.getRevisionType(), REVISIONTYPE_BINDING);
              protocolMarshaller.marshall(revisionLocation.getS3Location(), S3LOCATION_BINDING);
              protocolMarshaller.marshall(revisionLocation.getGitHubLocation(), GITHUBLOCATION_BINDING);
              protocolMarshaller.marshall(revisionLocation.getString(), STRING_BINDING);
              protocolMarshaller.marshall(revisionLocation.getAppSpecContent(), APPSPECCONTENT_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.