public void marshall(ReportDefinition reportDefinition, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(reportDefinition.getReportName(), REPORTNAME_BINDING);
            protocolMarshaller.marshall(reportDefinition.getTimeUnit(), TIMEUNIT_BINDING);
            protocolMarshaller.marshall(reportDefinition.getFormat(), FORMAT_BINDING);
            protocolMarshaller.marshall(reportDefinition.getCompression(), COMPRESSION_BINDING);
            protocolMarshaller.marshall(reportDefinition.getAdditionalSchemaElements(), ADDITIONALSCHEMAELEMENTS_BINDING);
            protocolMarshaller.marshall(reportDefinition.getS3Bucket(), S3BUCKET_BINDING);
            protocolMarshaller.marshall(reportDefinition.getS3Prefix(), S3PREFIX_BINDING);
            protocolMarshaller.marshall(reportDefinition.getS3Region(), S3REGION_BINDING);
            protocolMarshaller.marshall(reportDefinition.getAdditionalArtifacts(), ADDITIONALARTIFACTS_BINDING);
            protocolMarshaller.marshall(reportDefinition.getRefreshClosedReports(), REFRESHCLOSEDREPORTS_BINDING);
            protocolMarshaller.marshall(reportDefinition.getReportVersioning(), REPORTVERSIONING_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( ReportDefinition reportDefinition , ProtocolMarshaller protocolMarshaller ) { if ( reportDefinition == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( reportDefinition . getReportName ( ) , REPORTNAME_BINDING ) ; protocolMarshaller . marshall ( reportDefinition . getTimeUnit ( ) , TIMEUNIT_BINDING ) ; protocolMarshaller . marshall ( reportDefinition . getFormat ( ) , FORMAT_BINDING ) ; protocolMarshaller . marshall ( reportDefinition . getCompression ( ) , COMPRESSION_BINDING ) ; protocolMarshaller . marshall ( reportDefinition . getAdditionalSchemaElements ( ) , ADDITIONALSCHEMAELEMENTS_BINDING ) ; protocolMarshaller . marshall ( reportDefinition . getS3Bucket ( ) , S3BUCKET_BINDING ) ; protocolMarshaller . marshall ( reportDefinition . getS3Prefix ( ) , S3PREFIX_BINDING ) ; protocolMarshaller . marshall ( reportDefinition . getS3Region ( ) , S3REGION_BINDING ) ; protocolMarshaller . marshall ( reportDefinition . getAdditionalArtifacts ( ) , ADDITIONALARTIFACTS_BINDING ) ; protocolMarshaller . marshall ( reportDefinition . getRefreshClosedReports ( ) , REFRESHCLOSEDREPORTS_BINDING ) ; protocolMarshaller . marshall ( reportDefinition . getReportVersioning ( ) , REPORTVERSIONING_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.