code: public void marshall(Scte35SegmentationDescriptor scte35SegmentationDescriptor, ProtocolMarshaller protocolMarshaller) {
  
          if (scte35SegmentationDescriptor == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(scte35SegmentationDescriptor.getDeliveryRestrictions(), DELIVERYRESTRICTIONS_BINDING);
              protocolMarshaller.marshall(scte35SegmentationDescriptor.getSegmentNum(), SEGMENTNUM_BINDING);
              protocolMarshaller.marshall(scte35SegmentationDescriptor.getSegmentationCancelIndicator(), SEGMENTATIONCANCELINDICATOR_BINDING);
              protocolMarshaller.marshall(scte35SegmentationDescriptor.getSegmentationDuration(), SEGMENTATIONDURATION_BINDING);
              protocolMarshaller.marshall(scte35SegmentationDescriptor.getSegmentationEventId(), SEGMENTATIONEVENTID_BINDING);
              protocolMarshaller.marshall(scte35SegmentationDescriptor.getSegmentationTypeId(), SEGMENTATIONTYPEID_BINDING);
              protocolMarshaller.marshall(scte35SegmentationDescriptor.getSegmentationUpid(), SEGMENTATIONUPID_BINDING);
              protocolMarshaller.marshall(scte35SegmentationDescriptor.getSegmentationUpidType(), SEGMENTATIONUPIDTYPE_BINDING);
              protocolMarshaller.marshall(scte35SegmentationDescriptor.getSegmentsExpected(), SEGMENTSEXPECTED_BINDING);
              protocolMarshaller.marshall(scte35SegmentationDescriptor.getSubSegmentNum(), SUBSEGMENTNUM_BINDING);
              protocolMarshaller.marshall(scte35SegmentationDescriptor.getSubSegmentsExpected(), SUBSEGMENTSEXPECTED_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.