code: public void marshall(OwnerDirectoryDescription ownerDirectoryDescription, ProtocolMarshaller protocolMarshaller) {
  
          if (ownerDirectoryDescription == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(ownerDirectoryDescription.getDirectoryId(), DIRECTORYID_BINDING);
              protocolMarshaller.marshall(ownerDirectoryDescription.getAccountId(), ACCOUNTID_BINDING);
              protocolMarshaller.marshall(ownerDirectoryDescription.getDnsIpAddrs(), DNSIPADDRS_BINDING);
              protocolMarshaller.marshall(ownerDirectoryDescription.getVpcSettings(), VPCSETTINGS_BINDING);
              protocolMarshaller.marshall(ownerDirectoryDescription.getRadiusSettings(), RADIUSSETTINGS_BINDING);
              protocolMarshaller.marshall(ownerDirectoryDescription.getRadiusStatus(), RADIUSSTATUS_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.