public void marshall(AttackSummary attackSummary, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(attackSummary.getAttackId(), ATTACKID_BINDING);
            protocolMarshaller.marshall(attackSummary.getResourceArn(), RESOURCEARN_BINDING);
            protocolMarshaller.marshall(attackSummary.getStartTime(), STARTTIME_BINDING);
            protocolMarshaller.marshall(attackSummary.getEndTime(), ENDTIME_BINDING);
            protocolMarshaller.marshall(attackSummary.getAttackVectors(), ATTACKVECTORS_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( AttackSummary attackSummary , ProtocolMarshaller protocolMarshaller ) { if ( attackSummary == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( attackSummary . getAttackId ( ) , ATTACKID_BINDING ) ; protocolMarshaller . marshall ( attackSummary . getResourceArn ( ) , RESOURCEARN_BINDING ) ; protocolMarshaller . marshall ( attackSummary . getStartTime ( ) , STARTTIME_BINDING ) ; protocolMarshaller . marshall ( attackSummary . getEndTime ( ) , ENDTIME_BINDING ) ; protocolMarshaller . marshall ( attackSummary . getAttackVectors ( ) , ATTACKVECTORS_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.