public void marshall(AuditFinding auditFinding, ProtocolMarshaller protocolMarshaller) {

        if (auditFinding == null) {
            throw new SdkClientException("Invalid argument passed to marshall(...)");
        }

        try {
            protocolMarshaller.marshall(auditFinding.getTaskId(), TASKID_BINDING);
            protocolMarshaller.marshall(auditFinding.getCheckName(), CHECKNAME_BINDING);
            protocolMarshaller.marshall(auditFinding.getTaskStartTime(), TASKSTARTTIME_BINDING);
            protocolMarshaller.marshall(auditFinding.getFindingTime(), FINDINGTIME_BINDING);
            protocolMarshaller.marshall(auditFinding.getSeverity(), SEVERITY_BINDING);
            protocolMarshaller.marshall(auditFinding.getNonCompliantResource(), NONCOMPLIANTRESOURCE_BINDING);
            protocolMarshaller.marshall(auditFinding.getRelatedResources(), RELATEDRESOURCES_BINDING);
            protocolMarshaller.marshall(auditFinding.getReasonForNonCompliance(), REASONFORNONCOMPLIANCE_BINDING);
            protocolMarshaller.marshall(auditFinding.getReasonForNonComplianceCode(), REASONFORNONCOMPLIANCECODE_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( AuditFinding auditFinding , ProtocolMarshaller protocolMarshaller ) { if ( auditFinding == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( auditFinding . getTaskId ( ) , TASKID_BINDING ) ; protocolMarshaller . marshall ( auditFinding . getCheckName ( ) , CHECKNAME_BINDING ) ; protocolMarshaller . marshall ( auditFinding . getTaskStartTime ( ) , TASKSTARTTIME_BINDING ) ; protocolMarshaller . marshall ( auditFinding . getFindingTime ( ) , FINDINGTIME_BINDING ) ; protocolMarshaller . marshall ( auditFinding . getSeverity ( ) , SEVERITY_BINDING ) ; protocolMarshaller . marshall ( auditFinding . getNonCompliantResource ( ) , NONCOMPLIANTRESOURCE_BINDING ) ; protocolMarshaller . marshall ( auditFinding . getRelatedResources ( ) , RELATEDRESOURCES_BINDING ) ; protocolMarshaller . marshall ( auditFinding . getReasonForNonCompliance ( ) , REASONFORNONCOMPLIANCE_BINDING ) ; protocolMarshaller . marshall ( auditFinding . getReasonForNonComplianceCode ( ) , REASONFORNONCOMPLIANCECODE_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.