public void marshall(TopicRuleListItem topicRuleListItem, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(topicRuleListItem.getRuleArn(), RULEARN_BINDING);
            protocolMarshaller.marshall(topicRuleListItem.getRuleName(), RULENAME_BINDING);
            protocolMarshaller.marshall(topicRuleListItem.getTopicPattern(), TOPICPATTERN_BINDING);
            protocolMarshaller.marshall(topicRuleListItem.getCreatedAt(), CREATEDAT_BINDING);
            protocolMarshaller.marshall(topicRuleListItem.getRuleDisabled(), RULEDISABLED_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( TopicRuleListItem topicRuleListItem , ProtocolMarshaller protocolMarshaller ) { if ( topicRuleListItem == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( topicRuleListItem . getRuleArn ( ) , RULEARN_BINDING ) ; protocolMarshaller . marshall ( topicRuleListItem . getRuleName ( ) , RULENAME_BINDING ) ; protocolMarshaller . marshall ( topicRuleListItem . getTopicPattern ( ) , TOPICPATTERN_BINDING ) ; protocolMarshaller . marshall ( topicRuleListItem . getCreatedAt ( ) , CREATEDAT_BINDING ) ; protocolMarshaller . marshall ( topicRuleListItem . getRuleDisabled ( ) , RULEDISABLED_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.