def _build_emrfs_properties(emrfs_args):
 emrfs_properties = OrderedDict()
 if _need_to_configure_consistent_view(emrfs_args):
  _update_properties_for_consistent_view(emrfs_properties, emrfs_args)
 if _need_to_configure_sse(emrfs_args):
  _update_properties_for_sse(emrfs_properties, emrfs_args)
 if _need_to_configure_cse(emrfs_args, 'KMS'):
  _update_properties_for_cse(emrfs_properties, emrfs_args, 'KMS')
 if _need_to_configure_cse(emrfs_args, 'CUSTOM'):
  _update_properties_for_cse(emrfs_properties, emrfs_args, 'CUSTOM')
 if ('Args' in emrfs_args):
  for arg_value in emrfs_args.get('Args'):
   (key, value) = emrutils.split_to_key_value(arg_value)
   emrfs_properties[key] = value
 return emrfs_properties

def _build_emrfs_properties ( emrfs_args ) : emrfs_properties = OrderedDict ( ) if _need_to_configure_consistent_view ( emrfs_args ) : _update_properties_for_consistent_view ( emrfs_properties , emrfs_args ) if _need_to_configure_sse ( emrfs_args ) : _update_properties_for_sse ( emrfs_properties , emrfs_args ) if _need_to_configure_cse ( emrfs_args , 'KMS' ) : _update_properties_for_cse ( emrfs_properties , emrfs_args , 'KMS' ) if _need_to_configure_cse ( emrfs_args , 'CUSTOM' ) : _update_properties_for_cse ( emrfs_properties , emrfs_args , 'CUSTOM' ) if ( 'Args' in emrfs_args ) : for arg_value in emrfs_args . get ( 'Args' ) : ( key , value ) = emrutils . split_to_key_value ( arg_value ) emrfs_properties [ key ] = value return emrfs_properties
assumption: emrfs_args is valid i .