public void marshall(FacetAttributeDefinition facetAttributeDefinition, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(facetAttributeDefinition.getType(), TYPE_BINDING);
            protocolMarshaller.marshall(facetAttributeDefinition.getDefaultValue(), DEFAULTVALUE_BINDING);
            protocolMarshaller.marshall(facetAttributeDefinition.getIsImmutable(), ISIMMUTABLE_BINDING);
            protocolMarshaller.marshall(facetAttributeDefinition.getRules(), RULES_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( FacetAttributeDefinition facetAttributeDefinition , ProtocolMarshaller protocolMarshaller ) { if ( facetAttributeDefinition == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( facetAttributeDefinition . getType ( ) , TYPE_BINDING ) ; protocolMarshaller . marshall ( facetAttributeDefinition . getDefaultValue ( ) , DEFAULTVALUE_BINDING ) ; protocolMarshaller . marshall ( facetAttributeDefinition . getIsImmutable ( ) , ISIMMUTABLE_BINDING ) ; protocolMarshaller . marshall ( facetAttributeDefinition . getRules ( ) , RULES_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.