code: public void marshall(GrantListEntry grantListEntry, ProtocolMarshaller protocolMarshaller) {
  
          if (grantListEntry == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(grantListEntry.getKeyId(), KEYID_BINDING);
              protocolMarshaller.marshall(grantListEntry.getGrantId(), GRANTID_BINDING);
              protocolMarshaller.marshall(grantListEntry.getName(), NAME_BINDING);
              protocolMarshaller.marshall(grantListEntry.getCreationDate(), CREATIONDATE_BINDING);
              protocolMarshaller.marshall(grantListEntry.getGranteePrincipal(), GRANTEEPRINCIPAL_BINDING);
              protocolMarshaller.marshall(grantListEntry.getRetiringPrincipal(), RETIRINGPRINCIPAL_BINDING);
              protocolMarshaller.marshall(grantListEntry.getIssuingAccount(), ISSUINGACCOUNT_BINDING);
              protocolMarshaller.marshall(grantListEntry.getOperations(), OPERATIONS_BINDING);
              protocolMarshaller.marshall(grantListEntry.getConstraints(), CONSTRAINTS_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.