public void marshall(FunctionConfiguration functionConfiguration, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(functionConfiguration.getFunctionName(), FUNCTIONNAME_BINDING);
            protocolMarshaller.marshall(functionConfiguration.getFunctionArn(), FUNCTIONARN_BINDING);
            protocolMarshaller.marshall(functionConfiguration.getRuntime(), RUNTIME_BINDING);
            protocolMarshaller.marshall(functionConfiguration.getRole(), ROLE_BINDING);
            protocolMarshaller.marshall(functionConfiguration.getHandler(), HANDLER_BINDING);
            protocolMarshaller.marshall(functionConfiguration.getCodeSize(), CODESIZE_BINDING);
            protocolMarshaller.marshall(functionConfiguration.getDescription(), DESCRIPTION_BINDING);
            protocolMarshaller.marshall(functionConfiguration.getTimeout(), TIMEOUT_BINDING);
            protocolMarshaller.marshall(functionConfiguration.getMemorySize(), MEMORYSIZE_BINDING);
            protocolMarshaller.marshall(functionConfiguration.getLastModified(), LASTMODIFIED_BINDING);
            protocolMarshaller.marshall(functionConfiguration.getCodeSha256(), CODESHA256_BINDING);
            protocolMarshaller.marshall(functionConfiguration.getVersion(), VERSION_BINDING);
            protocolMarshaller.marshall(functionConfiguration.getVpcConfig(), VPCCONFIG_BINDING);
            protocolMarshaller.marshall(functionConfiguration.getDeadLetterConfig(), DEADLETTERCONFIG_BINDING);
            protocolMarshaller.marshall(functionConfiguration.getEnvironment(), ENVIRONMENT_BINDING);
            protocolMarshaller.marshall(functionConfiguration.getKMSKeyArn(), KMSKEYARN_BINDING);
            protocolMarshaller.marshall(functionConfiguration.getTracingConfig(), TRACINGCONFIG_BINDING);
            protocolMarshaller.marshall(functionConfiguration.getMasterArn(), MASTERARN_BINDING);
            protocolMarshaller.marshall(functionConfiguration.getRevisionId(), REVISIONID_BINDING);
            protocolMarshaller.marshall(functionConfiguration.getLayers(), LAYERS_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( FunctionConfiguration functionConfiguration , ProtocolMarshaller protocolMarshaller ) { if ( functionConfiguration == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( functionConfiguration . getFunctionName ( ) , FUNCTIONNAME_BINDING ) ; protocolMarshaller . marshall ( functionConfiguration . getFunctionArn ( ) , FUNCTIONARN_BINDING ) ; protocolMarshaller . marshall ( functionConfiguration . getRuntime ( ) , RUNTIME_BINDING ) ; protocolMarshaller . marshall ( functionConfiguration . getRole ( ) , ROLE_BINDING ) ; protocolMarshaller . marshall ( functionConfiguration . getHandler ( ) , HANDLER_BINDING ) ; protocolMarshaller . marshall ( functionConfiguration . getCodeSize ( ) , CODESIZE_BINDING ) ; protocolMarshaller . marshall ( functionConfiguration . getDescription ( ) , DESCRIPTION_BINDING ) ; protocolMarshaller . marshall ( functionConfiguration . getTimeout ( ) , TIMEOUT_BINDING ) ; protocolMarshaller . marshall ( functionConfiguration . getMemorySize ( ) , MEMORYSIZE_BINDING ) ; protocolMarshaller . marshall ( functionConfiguration . getLastModified ( ) , LASTMODIFIED_BINDING ) ; protocolMarshaller . marshall ( functionConfiguration . getCodeSha256 ( ) , CODESHA256_BINDING ) ; protocolMarshaller . marshall ( functionConfiguration . getVersion ( ) , VERSION_BINDING ) ; protocolMarshaller . marshall ( functionConfiguration . getVpcConfig ( ) , VPCCONFIG_BINDING ) ; protocolMarshaller . marshall ( functionConfiguration . getDeadLetterConfig ( ) , DEADLETTERCONFIG_BINDING ) ; protocolMarshaller . marshall ( functionConfiguration . getEnvironment ( ) , ENVIRONMENT_BINDING ) ; protocolMarshaller . marshall ( functionConfiguration . getKMSKeyArn ( ) , KMSKEYARN_BINDING ) ; protocolMarshaller . marshall ( functionConfiguration . getTracingConfig ( ) , TRACINGCONFIG_BINDING ) ; protocolMarshaller . marshall ( functionConfiguration . getMasterArn ( ) , MASTERARN_BINDING ) ; protocolMarshaller . marshall ( functionConfiguration . getRevisionId ( ) , REVISIONID_BINDING ) ; protocolMarshaller . marshall ( functionConfiguration . getLayers ( ) , LAYERS_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.