code: public void marshall(BuildArtifacts buildArtifacts, ProtocolMarshaller protocolMarshaller) {
  
          if (buildArtifacts == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(buildArtifacts.getLocation(), LOCATION_BINDING);
              protocolMarshaller.marshall(buildArtifacts.getSha256sum(), SHA256SUM_BINDING);
              protocolMarshaller.marshall(buildArtifacts.getMd5sum(), MD5SUM_BINDING);
              protocolMarshaller.marshall(buildArtifacts.getOverrideArtifactName(), OVERRIDEARTIFACTNAME_BINDING);
              protocolMarshaller.marshall(buildArtifacts.getEncryptionDisabled(), ENCRYPTIONDISABLED_BINDING);
              protocolMarshaller.marshall(buildArtifacts.getArtifactIdentifier(), ARTIFACTIDENTIFIER_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.