public void marshall(AcceleratorAttributes acceleratorAttributes, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(acceleratorAttributes.getFlowLogsEnabled(), FLOWLOGSENABLED_BINDING);
            protocolMarshaller.marshall(acceleratorAttributes.getFlowLogsS3Bucket(), FLOWLOGSS3BUCKET_BINDING);
            protocolMarshaller.marshall(acceleratorAttributes.getFlowLogsS3Prefix(), FLOWLOGSS3PREFIX_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( AcceleratorAttributes acceleratorAttributes , ProtocolMarshaller protocolMarshaller ) { if ( acceleratorAttributes == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( acceleratorAttributes . getFlowLogsEnabled ( ) , FLOWLOGSENABLED_BINDING ) ; protocolMarshaller . marshall ( acceleratorAttributes . getFlowLogsS3Bucket ( ) , FLOWLOGSS3BUCKET_BINDING ) ; protocolMarshaller . marshall ( acceleratorAttributes . getFlowLogsS3Prefix ( ) , FLOWLOGSS3PREFIX_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.