docs: public void marshall(ResourceDetails resourceDetails, ProtocolMarshaller protocolMarshaller) {
  
          if (resourceDetails == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(resourceDetails.getAwsEc2Instance(), AWSEC2INSTANCE_BINDING);
              protocolMarshaller.marshall(resourceDetails.getAwsS3Bucket(), AWSS3BUCKET_BINDING);
              protocolMarshaller.marshall(resourceDetails.getAwsIamAccessKey(), AWSIAMACCESSKEY_BINDING);
              protocolMarshaller.marshall(resourceDetails.getContainer(), CONTAINER_BINDING);
              protocolMarshaller.marshall(resourceDetails.getOther(), OTHER_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }