code: public void marshall(LifecyclePolicy lifecyclePolicy, ProtocolMarshaller protocolMarshaller) {
  
          if (lifecyclePolicy == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(lifecyclePolicy.getPolicyId(), POLICYID_BINDING);
              protocolMarshaller.marshall(lifecyclePolicy.getDescription(), DESCRIPTION_BINDING);
              protocolMarshaller.marshall(lifecyclePolicy.getState(), STATE_BINDING);
              protocolMarshaller.marshall(lifecyclePolicy.getExecutionRoleArn(), EXECUTIONROLEARN_BINDING);
              protocolMarshaller.marshall(lifecyclePolicy.getDateCreated(), DATECREATED_BINDING);
              protocolMarshaller.marshall(lifecyclePolicy.getDateModified(), DATEMODIFIED_BINDING);
              protocolMarshaller.marshall(lifecyclePolicy.getPolicyDetails(), POLICYDETAILS_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.