public void marshall(AssociateS3ResourcesRequest associateS3ResourcesRequest, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(associateS3ResourcesRequest.getMemberAccountId(), MEMBERACCOUNTID_BINDING);
            protocolMarshaller.marshall(associateS3ResourcesRequest.getS3Resources(), S3RESOURCES_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( AssociateS3ResourcesRequest associateS3ResourcesRequest , ProtocolMarshaller protocolMarshaller ) { if ( associateS3ResourcesRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( associateS3ResourcesRequest . getMemberAccountId ( ) , MEMBERACCOUNTID_BINDING ) ; protocolMarshaller . marshall ( associateS3ResourcesRequest . getS3Resources ( ) , S3RESOURCES_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.